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 Prime Ministers of Mauritania
Table title:
List
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=2 > No. </th><th colspan=1 rowspan=2 > Prime Minister (Birth–Death) </th><th colspan=1 rowspan=2 > Portrait </th><th colspan=3 rowspan=1 > Tenure </th><th colspan=2 rowspan=2 > Political affiliation </th><th colspan=1 rowspan=2 > Head(s) of State </th></tr>
<tr> <th colspan=1 rowspan=1 > Took office </th><th colspan=1 rowspan=1 > Left office </th><th colspan=1 rowspan=1 > Time in office </th></tr>
<tr> <th colspan=1 rowspan=1 > 1 </th><th colspan=1 rowspan=1 > Moktar Ould Daddah (1924–2003) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 28 November 1960 </td><td colspan=1 rowspan=1 > 20 August 1961 </td><td colspan=1 rowspan=1 > 265 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > PRM / PPM </td><td colspan=1 rowspan=1 > Himself </td></tr>
<tr> <td colspan=9 rowspan=1 > Post abolished (20 August 1961 – 6 April 1979) </td></tr>
<tr> <th colspan=1 rowspan=1 > 2 </th><th colspan=1 rowspan=1 > Ahmed Ould Bouceif (1934–1979) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 6 April 1979 </td><td colspan=1 rowspan=1 > 27 May 1979 (died in office.) </td><td colspan=1 rowspan=1 > 51 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > Military </td><td colspan=1 rowspan=1 > Salek </td></tr>
<tr> <td colspan=1 rowspan=1 > – </td><td colspan=1 rowspan=1 > Ahmed Salim Ould Sidi (1939–1981) </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 28 May 1979 </td><td colspan=1 rowspan=1 > 31 May 1979 </td><td colspan=1 rowspan=1 > 3 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > Military </td><td colspan=1 rowspan=1 > Salek </td></tr>
<tr> <th colspan=1 rowspan=1 > 3 </th><th colspan=1 rowspan=1 > Mohamed Khouna Ould Haidalla (1940–) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 31 May 1979 </td><td colspan=1 rowspan=1 > 12 December 1980 </td><td colspan=1 rowspan=1 > 1 year, 195 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > Military </td><td colspan=1 rowspan=1 > Salek Louly Himself </td></tr>
<tr> <th colspan=1 rowspan=1 > 4 </th><th colspan=1 rowspan=1 > Sid Ahmed Ould Bneijara (1947–2017) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 12 December 1980 </td><td colspan=1 rowspan=1 > 25 April 1981 </td><td colspan=1 rowspan=1 > 134 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > Independent </td><td colspan=1 rowspan=1 > Haidalla </td></tr>
<tr> <th colspan=1 rowspan=1 > 5 </th><th colspan=1 rowspan=1 > Maaouya Ould Sid'Ahmed Taya (1941–) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 25 April 1981 </td><td colspan=1 rowspan=1 > 8 March 1984 </td><td colspan=1 rowspan=1 > 2 years, 318 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > Military </td><td colspan=1 rowspan=1 > Haidalla </td></tr>
<tr> <th colspan=1 rowspan=1 > (3) </th><th colspan=1 rowspan=1 > Mohamed Khouna Ould Haidalla (1940–) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 8 March 1984 </td><td colspan=1 rowspan=1 > 12 December 1984 (deposed.) </td><td colspan=1 rowspan=1 > 279 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > Military </td><td colspan=1 rowspan=1 > Himself </td></tr>
<tr> <th colspan=1 rowspan=1 > (5) </th><th colspan=1 rowspan=1 > Maaouya Ould Sid'Ahmed Taya (1941–) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 12 December 1984 </td><td colspan=1 rowspan=1 > 18 April 1992 </td><td colspan=1 rowspan=1 > 7 years, 128 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > Military </td><td colspan=1 rowspan=1 > Himself </td></tr>
<tr> <th colspan=1 rowspan=1 > 6 </th><th class="highlighted"  colspan=1 rowspan=1 > Sidi Mohamed Ould Boubacar (1957–) </th><td colspan=1 rowspan=1 > - </td><td class="highlighted"  colspan=1 rowspan=1 > 18 April 1992 </td><td class="highlighted"  colspan=1 rowspan=1 > 2 January 1996 </td><td colspan=1 rowspan=1 > 3 years, 259 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > PRDS </td><td colspan=1 rowspan=1 > Taya </td></tr>
<tr> <th colspan=1 rowspan=1 > 7 </th><th colspan=1 rowspan=1 > Cheikh El Avia Ould Mohamed Khouna (1956–) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 2 January 1996 </td><td colspan=1 rowspan=1 > 18 December 1997 </td><td colspan=1 rowspan=1 > 1 year, 350 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > PRDS </td><td colspan=1 rowspan=1 > Taya </td></tr>
<tr> <th colspan=1 rowspan=1 > 8 </th><th colspan=1 rowspan=1 > Mohamed Lemine Ould Guig (1959–) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 18 December 1997 </td><td colspan=1 rowspan=1 > 16 November 1998 </td><td colspan=1 rowspan=1 > 333 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > PRDS </td><td colspan=1 rowspan=1 > Taya </td></tr>
<tr> <th colspan=1 rowspan=1 > (7) </th><th colspan=1 rowspan=1 > Cheikh El Avia Ould Mohamed Khouna (1956–) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 16 November 1998 </td><td colspan=1 rowspan=1 > 6 July 2003 </td><td colspan=1 rowspan=1 > 4 years, 232 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > PRDS </td><td colspan=1 rowspan=1 > Taya </td></tr>
<tr> <th colspan=1 rowspan=1 > 9 </th><th colspan=1 rowspan=1 > Sghair Ould M'Bareck (1954–) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 6 July 2003 </td><td colspan=1 rowspan=1 > 7 August 2005 (deposed.) </td><td colspan=1 rowspan=1 > 2 years, 32 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > PRDS </td><td colspan=1 rowspan=1 > Taya </td></tr>
<tr> <th colspan=1 rowspan=1 > (6) </th><th class="highlighted"  colspan=1 rowspan=1 > Sidi Mohamed Ould Boubacar (1957–) </th><td colspan=1 rowspan=1 > - </td><td class="highlighted"  colspan=1 rowspan=1 > 7 August 2005 </td><td class="highlighted"  colspan=1 rowspan=1 > 20 April 2007 </td><td colspan=1 rowspan=1 > 1 year, 256 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > PRDS </td><td colspan=1 rowspan=1 > Vall </td></tr>
<tr> <th colspan=1 rowspan=1 > 10 </th><th colspan=1 rowspan=1 > Zeine Ould Zeidane (1966–) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 20 April 2007 </td><td colspan=1 rowspan=1 > 6 May 2008 </td><td colspan=1 rowspan=1 > 1 year, 16 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > Independent </td><td colspan=1 rowspan=1 > Abdallahi </td></tr>
<tr> <th colspan=1 rowspan=1 > 11 </th><th colspan=1 rowspan=1 > Yahya Ould Ahmed El Waghef (1960–) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 6 May 2008 </td><td colspan=1 rowspan=1 > 6 August 2008 (deposed.) </td><td colspan=1 rowspan=1 > 92 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > ADIL </td><td colspan=1 rowspan=1 > Abdallahi </td></tr>
<tr> <td colspan=9 rowspan=1 > Vacant (6 – 14 August 2008) </td></tr>
<tr> <th colspan=1 rowspan=1 > 12 </th><th colspan=1 rowspan=1 > Moulaye Ould Mohamed Laghdaf (1957–) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 14 August 2008 </td><td colspan=1 rowspan=1 > 20 August 2014 </td><td colspan=1 rowspan=1 > 6 years, 6 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > Independent </td><td colspan=1 rowspan=1 > Aziz Mbaré </td></tr>
<tr> <th colspan=1 rowspan=1 > 13 </th><th colspan=1 rowspan=1 > Yahya Ould Hademine (1953–) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 20 August 2014 </td><td colspan=1 rowspan=1 > 29 October 2018 </td><td colspan=1 rowspan=1 > 4 years, 70 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > Independent </td><td colspan=1 rowspan=1 > Aziz </td></tr>
<tr> <th colspan=1 rowspan=1 > 14 </th><th colspan=1 rowspan=1 > Mohamed Salem Ould Béchir (1962–) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 29 October 2018 </td><td colspan=1 rowspan=1 > Incumbent </td><td colspan=1 rowspan=1 > 141 days </td><th colspan=1 rowspan=1 >  </th><td colspan=1 rowspan=1 > UPR </td><td colspan=1 rowspan=1 > Aziz </td></tr>
</table>
Question:
During which years was Sidi Mohamed Ould Boubacar (born 1957) prime minister of Mauritania?
Answer:
Sidi Mohamed Ould Boubacar (born 1957) was prime minister of Mauritania from 1992 to 1996 and again from 2005 to 2007.