<P> The oath or affirmation of office for the president was established in the Constitution of the Republic of Texas and was mandatory for a president' before entering upon the duties' of the office . The wording, very similar to that of the United States' version, was prescribed by Article VI of the Constitution, as follows: </P> <P> "I, A.B., President of the Republic of Texas, do solemnly and sincerely swear (or affirm, as the case may be) that I will faithfully execute the duties of my office, and to the best of my ability preserve, protect, and defend the Constitution of the Republic ." </P> <Table> <Tr> <Th_colspan="8"> Presidents and Vice Presidents of the Republic of Texas </Th> </Tr> <Tr> <Th> No </Th> <Th> Portrait </Th> <Th> President </Th> <Th> Term of office </Th> <Th> Party </Th> <Th> Term </Th> <Th> Previous Office </Th> <Th> Vice president </Th> </Tr> <Tr> <Td>--</Td> <Td> </Td> <Td> David G. Burnet (1788 - 04 - 18) April 18, 1788--(1870 - 12 - 05) December 5, 1870 (aged 82) </Td> <Td> March 16, 1836--October 22, 1836 </Td> <Td> Nonpartisan </Td> <Td> Interim </Td> <Td> Delegate to the Convention of 1833 </Td> <Td> Lorenzo de Zavala </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Td> Sam Houston (1793 - 03 - 02) March 2, 1793--(1863 - 07 - 26) July 26, 1863 (aged 70) </Td> <Td> October 22, 1836--December 10, 1838 </Td> <Td> Nonpartisan </Td> <Td> (1836) </Td> <Td> Commander - in - Chief of the Texian Army (1836) </Td> <Td> Mirabeau B. Lamar </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Td> Mirabeau B. Lamar (1798 - 08 - 16) August 16, 1798--(1859 - 12 - 19) December 19, 1859 (aged 61) </Td> <Td> December 10, 1838--December 13, 1841 </Td> <Td> Nonpartisan </Td> <Td> (1838) </Td> <Td> 1st Vice President of the Republic of Texas (1836--1838) </Td> <Td> David G. Burnet </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Td> Sam Houston (1793 - 03 - 02) March 2, 1793--(1863 - 07 - 26) July 26, 1863 (aged 70) </Td> <Td> December 13, 1841--December 9, 1844 </Td> <Td> Nonpartisan </Td> <Td> (1841) </Td> <Td> 1st President of the Republic of Texas (1836--1838) </Td> <Td> Edward Burleson </Td> </Tr> <Tr> <Td> </Td> <Td> </Td> <Td> Anson Jones (1798 - 01 - 20) January 20, 1798--(1858 - 01 - 09) January 9, 1858 (aged 59) </Td> <Td> December 9, 1844--February 19, 1846 </Td> <Td> Nonpartisan </Td> <Td> (1844) </Td> <Td> 11th Secretary of State of the Republic of Texas (1841--1844) </Td> <Td> Kenneth Anderson December 9, 1844--July 3, 1845 </Td> </Tr> </Table> <Tr> <Th_colspan="8"> Presidents and Vice Presidents of the Republic of Texas </Th> </Tr>

Who was the first elected president of the republic of texas