Please read the following table in HTML format from a webpage and then answer the question in detail according to the table. Each table cell is defined by a <td> and a </td> tag. Each table row starts with a <tr> and ends with a </tr> tag. 'rowspan=m' and 'colspan=n' represents a cell spaning over 'm' rows and 'n' columns.

Webpage title:
List of Presidents of Costa Rica
Table title:
Heads of State of Costa Rica (1825–1848)
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > No. </th><th colspan=2 rowspan=1 > Head of State (Birth–Death) </th><th colspan=1 rowspan=1 > Term of Office </th><th colspan=1 rowspan=1 > Political Affiliation </th><th colspan=1 rowspan=1 > Notes </th></tr>
<tr> <th colspan=1 rowspan=1 > 1 </th><td colspan=1 rowspan=1 > Juan Mora Fernández (1784–1854) </td><td colspan=1 rowspan=1 > Juan Mora Fernández.JPG </td><td colspan=1 rowspan=1 > 1825–1833 </td><td colspan=1 rowspan=1 > Liberal </td><td colspan=1 rowspan=1 > Two consecutive terms; re-elected in 1829. </td></tr>
<tr> <th colspan=1 rowspan=1 > 2 </th><td colspan=1 rowspan=1 > José Rafael Gallegos (1784–1850) </td><td colspan=1 rowspan=1 > José Rafael Gallegos Alvarado.JPG </td><td colspan=1 rowspan=1 > 1833–1835 </td><td colspan=1 rowspan=1 > Conservative </td><td colspan=1 rowspan=1 > Resigned, Manuel Fernández Chacón and Nicolás Ulloa Soto followed as acting Heads of State. </td></tr>
<tr> <th colspan=1 rowspan=1 > 3 </th><td class="highlighted"  colspan=1 rowspan=1 > Braulio Carrillo Colina (1800–1845) </td><td colspan=1 rowspan=1 > - </td><td class="highlighted"  colspan=1 rowspan=1 > 1835–1837 </td><td colspan=1 rowspan=1 > Liberal </td><td class="highlighted"  colspan=1 rowspan=1 > First term. </td></tr>
<tr> <th colspan=1 rowspan=1 > 4 </th><td colspan=1 rowspan=1 > Juan Mora Fernández (1784–1854) </td><td colspan=1 rowspan=1 > Juan Mora Fernández.JPG </td><td colspan=1 rowspan=1 > March–April 1837 </td><td colspan=1 rowspan=1 > Liberal </td><td colspan=1 rowspan=1 > Provisional. </td></tr>
<tr> <th colspan=1 rowspan=1 > 5 </th><td colspan=1 rowspan=1 > Manuel Aguilar Chacón (1797–1846) </td><td colspan=1 rowspan=1 > Manuel Aguilar Chacón.JPG </td><td colspan=1 rowspan=1 > 1837–1838 </td><td colspan=1 rowspan=1 > Liberal </td><td colspan=1 rowspan=1 > Deposed in a coup d'état. </td></tr>
<tr> <th colspan=1 rowspan=1 > 6 </th><td class="highlighted"  colspan=1 rowspan=1 > Braulio Carrillo Colina (1800–1845) </td><td colspan=1 rowspan=1 > - </td><td class="highlighted"  colspan=1 rowspan=1 > 1838–1842 </td><td colspan=1 rowspan=1 > Liberal </td><td colspan=1 rowspan=1 > Second term. Deposed in a coup d'état. </td></tr>
<tr> <th colspan=1 rowspan=1 > 7 </th><td colspan=1 rowspan=1 > Francisco Morazán (1792–1842) </td><td colspan=1 rowspan=1 > General Francisco Morazán.JPG </td><td colspan=1 rowspan=1 > April–September 1842 </td><td colspan=1 rowspan=1 > Liberal </td><td colspan=1 rowspan=1 > Deposed by popular uprising; executed on 15 September 1842. </td></tr>
<tr> <th colspan=1 rowspan=1 > 8 </th><td colspan=1 rowspan=1 > António Pinto Soares (1780–1865) </td><td colspan=1 rowspan=1 > Antonio Pinto Soares.JPG </td><td colspan=1 rowspan=1 > September 1842 </td><td colspan=1 rowspan=1 > Liberal </td><td colspan=1 rowspan=1 > Came to power in popular uprising, and quickly resigned. </td></tr>
<tr> <th colspan=1 rowspan=1 > 9 </th><td colspan=1 rowspan=1 > José María Alfaro Zamora (1799–1865) </td><td colspan=1 rowspan=1 > José María Alfaro Zamora.JPG </td><td colspan=1 rowspan=1 > 1842–1844 </td><td colspan=1 rowspan=1 > Liberal </td><td colspan=1 rowspan=1 > First term. Provisional. </td></tr>
<tr> <th colspan=1 rowspan=1 > 10 </th><td colspan=1 rowspan=1 > Francisco María Oreamuno Bonilla (1801–1856) </td><td colspan=1 rowspan=1 > Francisco María Oreamuno Bonilla.JPG </td><td colspan=1 rowspan=1 > November–December 1844 </td><td colspan=1 rowspan=1 > Liberal </td><td colspan=1 rowspan=1 > Deposed in a coup d'état. </td></tr>
<tr> <th colspan=1 rowspan=1 > 11 </th><td colspan=1 rowspan=1 > José Rafael Gallegos (1784–1850) </td><td colspan=1 rowspan=1 > José Rafael Gallegos Alvarado.JPG </td><td colspan=1 rowspan=1 > 1845–1846 </td><td colspan=1 rowspan=1 > Conservative </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <th colspan=1 rowspan=1 > 12 </th><td colspan=1 rowspan=1 > José María Alfaro Zamora (1799–1856) </td><td colspan=1 rowspan=1 > José María Alfaro Zamora.JPG </td><td colspan=1 rowspan=1 > 1846–1847 </td><td colspan=1 rowspan=1 > Liberal </td><td colspan=1 rowspan=1 > Second term. </td></tr>
<tr> <th colspan=1 rowspan=1 > 13 </th><td colspan=1 rowspan=1 > José Castro Madriz (1818–1892) </td><td colspan=1 rowspan=1 > José María Castro Madriz.JPG </td><td colspan=1 rowspan=1 > 1847–1848 </td><td colspan=1 rowspan=1 > Liberal </td><td colspan=1 rowspan=1 >  </td></tr>
</table>
Question:
When was Braulio Evaristo Carrillo Colina the Head of State of Costa Rica?
Answer:
Braulio Evaristo Carrillo Colina (1800 – 1845) was the Head of State of Costa Rica during two periods: the first between 1835 and 1837, and the second between 1838 and 1842.