Respuesta :

Mexico controlled the territory until 1836 when Texas won its independence, becoming the republic of Texas.