Definition: In this task you will be given an answer to a question. You need to generate a question. The answer given should be a correct answer for the generated question.
Input: The Treaty closed the first era of United States expansion by providing for the cession of East Florida under Article 2; the abandonment of the controversy over West Florida under Article 2 (a portion of which had been seized by the United States); and the definition of a boundary with the Spanish province of Mexico, that clearly made Spanish Texas a part of Mexico, under Article 3, thus ending much of the vagueness in the boundary of the Louisiana Purchase. Spain also ceded to the U.S. its claims to the Oregon Country, under Article 3.
Output:
did texas gain or lose territory as a result of the adams-onis treaty