contestada

Does anyone know the correct answer to this question?

Texas was a part of what country immediately before becoming its own nation?
Mexico
The United States
France
Spain