<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> <P> The Republic of Texas (Spanish: República de Tejas) was an independent sovereign country in North America that existed from March 2, 1836, to February 19, 1846 . It was bordered by Mexico to the west and southwest, the Gulf of Mexico to the southeast, the two U.S. states of Louisiana and Arkansas to the east and northeast, and United States territories encompassing parts of the current U.S. states of Oklahoma, Kansas, Colorado, Wyoming, and New Mexico to the north and west . The citizens of the republic were known as Texians . </P> <P> The Mexican province of Tejas (in English history books usually referred to as Mexican Texas) declared its independence from Mexico during the Texas Revolution in 1836 . The Texas war of independence ended on April 21, 1836, but Mexico refused to recognize the independence of the Republic of Texas, and intermittent conflicts between the two states continued into the 1840s . The United States recognized the Republic of Texas in March 1837 but declined to annex the territory . </P>

When did texas become an independent nation how long was it an independent nation
find me the text answering this question