<Table> <Tr> <Td_colspan="3"> Republic of Texas República de Tejas (Spanish) </Td> </Tr> <Tr> <Td_colspan="3"> <Table> <Tr> <Td> </Td> <Td> 1836--1846 </Td> <Td> </Td> </Tr> </Table> </Td> </Tr> <Tr> <Td_colspan="3"> Flag (1839--1845) Seal (1839 - 1845) </Td> </Tr> <Tr> <Td_colspan="3"> Map of the Republic of Texas . The disputed area is in light green, while the Republic is in dark green . </Td> </Tr> <Tr> <Td_colspan="2"> Capital </Td> <Td> <Ul> <Li> San Antonio de Bexar (Mexican Texas) </Li> <Li> San Felipe de Austin (1835, provisional) </Li> <Li> Washington - on - the - Brazos (1836, interim) </Li> <Li> Harrisburg (1836, interim) </Li> <Li> Galveston (1836, interim) </Li> <Li> Velasco (1836, interim) </Li> <Li> Columbia (1836--1837) </Li> <Li> Houston (1837--1839) </Li> <Li> Austin (1839--1846) </Li> </Ul> </Td> </Tr> <Tr> <Td_colspan="2"> Languages </Td> <Td> English and Spanish (de facto) <P> French and German Native languages (Caddo, Comanche) and Portuguese regionally </P> </Td> </Tr> <Tr> <Td_colspan="2"> Government </Td> <Td> Constitutional republic </Td> </Tr> <Tr> <Td_colspan="2"> President </Td> <Td> </Td> </Tr> <Tr> <Td> </Td> <Td> 1836 </Td> <Td> David G. Burnet </Td> </Tr> <Tr> <Td> </Td> <Td> 1836--38 </Td> <Td> Sam Houston, 1st term </Td> </Tr> <Tr> <Td> </Td> <Td> 1838--41 </Td> <Td> Mirabeau B. Lamar </Td> </Tr> <Tr> <Td> </Td> <Td> 1841--44 </Td> <Td> Sam Houston, 2nd term </Td> </Tr> <Tr> <Td> </Td> <Td> 1844--46 </Td> <Td> Anson Jones </Td> </Tr> <Tr> <Td_colspan="2"> Vice President </Td> <Td> </Td> </Tr> <Tr> <Td> </Td> <Td> 1836 </Td> <Td> Lorenzo de Zavala </Td> </Tr> <Tr> <Td> </Td> <Td> 1836--38 </Td> <Td> Mirabeau B. Lamar </Td> </Tr> <Tr> <Td> </Td> <Td> 1838--41 </Td> <Td> David G. Burnet </Td> </Tr> <Tr> <Td> </Td> <Td> 1841--44 </Td> <Td> Edward Burleson </Td> </Tr> <Tr> <Td> </Td> <Td> 1844--45 </Td> <Td> Kenneth L. Anderson </Td> </Tr> <Tr> <Td_colspan="2"> Legislature </Td> <Td> Congress </Td> </Tr> <Tr> <Td_colspan="2"> Historical era </Td> <Td> Western Expansion </Td> </Tr> <Tr> <Td> </Td> <Td> Independence from Mexico </Td> <Td> March 2, 1836 </Td> </Tr> <Tr> <Td> </Td> <Td> Annexation by the United States of America </Td> <Td> December 29, 1845 </Td> </Tr> <Tr> <Td> </Td> <Td> Transfer of power </Td> <Td> February 19, 1846 </Td> </Tr> <Tr> <Td_colspan="3"> Area </Td> </Tr> <Tr> <Td> </Td> <Td> 1840 </Td> <Td> 1,007,935 km (389,166 sq mi) </Td> </Tr> <Tr> <Td_colspan="3"> Population </Td> </Tr> <Tr> <Td> </Td> <Td> 1840 est . </Td> <Td> 70,000 </Td> </Tr> <Tr> <Td_colspan="2"> Density </Td> <Td> 0 / km (0 / sq mi) </Td> </Tr> <Tr> <Td_colspan="2"> Currency </Td> <Td> Republic of Texas Dollar </Td> </Tr> <Tr> <Td_colspan="3"> <Table> <Tr> <Td> Preceded by </Td> <Td> Succeeded by </Td> </Tr> <Tr> <Td> <Table> <Tr> <Td> </Td> <Td> Coahuila y Tejas </Td> </Tr> <Tr> <Td> </Td> <Td> First Mexican Republic </Td> </Tr> <Tr> <Td> </Td> <Td> Louisiana </Td> </Tr> </Table> </Td> <Td> <Table> <Tr> <Td> Texas </Td> <Td> </Td> </Tr> <Tr> <Td> New Mexico Territory </Td> <Td> </Td> </Tr> <Tr> <Td> Indian Territory </Td> <Td> </Td> </Tr> <Tr> <Td> Second Federal Republic of Mexico </Td> <Td> </Td> </Tr> <Tr> <Td> Cimarron Territory </Td> <Td> </Td> </Tr> <Tr> <Td> Kansas Territory </Td> <Td> </Td> </Tr> </Table> </Td> </Tr> </Table> </Td> </Tr> <Tr> <Td_colspan="2"> Today part of </Td> <Td> United States Mexico (shifting Rio Grande) </Td> </Tr> <Tr> <Td_colspan="3"> Interim period (March 16--October 22, 1836): President: David G. Burnet, Vice President Lorenzo de Zavala </Td> </Tr> </Table> <Tr> <Td_colspan="3"> Republic of Texas República de Tejas (Spanish) </Td> </Tr>

Who was the president of texas when it became a state
find me the text answering this question