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 Nepal
Table title:
Prime Ministers of the Federal Democratic Republic of Nepal (2008–present)
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=2 rowspan=2 > No. </th><th colspan=1 rowspan=2 > Portrait </th><th colspan=1 rowspan=2 > Name (Birth–Death) </th><th colspan=3 rowspan=1 > Term of Office </th><th colspan=1 rowspan=2 > Political Party </th><th colspan=1 rowspan=2 > Cabinet </th><th colspan=1 rowspan=2 > President of Federal Democratic Republic of Nepal (1. Term of Office) (2. Political Party) </th></tr>
<tr> <th colspan=1 rowspan=1 > Took Office </th><th colspan=1 rowspan=1 > Left Office </th><th colspan=1 rowspan=1 > Days </th></tr>
<tr> <th colspan=1 rowspan=1 >  </th><th colspan=1 rowspan=1 > (30) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > Girija Prasad Koirala (1924–2010) 5th time </td><td colspan=1 rowspan=1 > 28 May 2008 </td><td colspan=1 rowspan=1 > 18 August 2008 </td><td colspan=1 rowspan=1 > 82 </td><td colspan=1 rowspan=1 > Nepali Congress </td><td colspan=1 rowspan=1 >  </td><th colspan=1 rowspan=1 > - </th></tr>
<tr> <th colspan=1 rowspan=1 >  </th><th colspan=1 rowspan=1 > 33 </th><td colspan=1 rowspan=1 > - </td><td class="highlighted"  colspan=1 rowspan=1 > Pushpa Kamal Dahal (1954–) 1st time </td><td class="highlighted"  colspan=1 rowspan=1 > 18 August 2008 </td><td class="highlighted"  colspan=1 rowspan=1 > 25 May 2009 </td><td colspan=1 rowspan=1 > 280 </td><td colspan=1 rowspan=1 > Unified Communist Party of Nepal (Maoist) </td><td colspan=1 rowspan=1 > 2008 Dahal Cabinet </td><th colspan=1 rowspan=6 > - </th></tr>
<tr> <th colspan=1 rowspan=1 >  </th><th colspan=1 rowspan=1 > 34 </th><td colspan=1 rowspan=1 > Madhav Kumar Nepal (1953–) </td><td colspan=1 rowspan=1 > 25 May 2009 </td><td colspan=1 rowspan=1 > 6 February 2011 </td><td colspan=1 rowspan=1 > 622 </td><td colspan=1 rowspan=1 > Communist Party of Nepal (Unified Marxist–Leninist) </td><td colspan=1 rowspan=1 > 2009 Madhav Nepal Cabinet </td></tr>
<tr> <th colspan=1 rowspan=1 >  </th><th colspan=1 rowspan=1 > 35 </th><td colspan=1 rowspan=1 > Jhala Nath Khanal (1950–) </td><td colspan=1 rowspan=1 > 6 February 2011 </td><td colspan=1 rowspan=1 > 29 August 2011 </td><td colspan=1 rowspan=1 > 204 </td><td colspan=1 rowspan=1 > Communist Party of Nepal (Unified Marxist–Leninist) </td><td colspan=1 rowspan=1 > 2011 Khanal Cabinet </td></tr>
<tr> <th colspan=1 rowspan=1 >  </th><th colspan=1 rowspan=1 > 36 </th><td colspan=1 rowspan=1 > Baburam Bhattarai (1954–) </td><td colspan=1 rowspan=1 > 29 August 2011 </td><td colspan=1 rowspan=1 > 14 March 2013 </td><td colspan=1 rowspan=1 > 563 </td><td colspan=1 rowspan=1 > Unified Communist Party of Nepal (Maoist) </td><td colspan=1 rowspan=1 > 2011 Bhattarai Cabinet </td></tr>
<tr> <th colspan=1 rowspan=1 >  </th><th colspan=1 rowspan=1 > — </th><td colspan=1 rowspan=1 > Khil Raj Regmi (1949–) Acting Prime Minister </td><td colspan=1 rowspan=1 > 14 March 2013 </td><td colspan=1 rowspan=1 > 11 February 2014 </td><td colspan=1 rowspan=1 > 334 </td><td colspan=1 rowspan=1 > Independent </td><td colspan=1 rowspan=1 > 2013 Regmi Interim Cabinet </td></tr>
<tr> <th colspan=1 rowspan=1 >  </th><th colspan=1 rowspan=1 > 37 </th><td colspan=1 rowspan=1 > Sushil Koirala (1939–2016) </td><td colspan=1 rowspan=1 > 11 February 2014 </td><td colspan=1 rowspan=1 > 12 October 2015 </td><td colspan=1 rowspan=1 > 608 </td><td colspan=1 rowspan=1 > Nepali Congress </td><td colspan=1 rowspan=1 > 2013 Koirala Cabinet </td></tr>
<tr> <th colspan=1 rowspan=1 >  </th><th colspan=1 rowspan=1 > 38 </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > KP Sharma Oli (1952–) 1st time </td><td colspan=1 rowspan=1 > 12 October 2015 </td><td colspan=1 rowspan=1 > 4 August 2016 </td><td colspan=1 rowspan=1 > 297 </td><td colspan=1 rowspan=1 > Communist Party of Nepal (Unified Marxist–Leninist) </td><td colspan=1 rowspan=1 > 2015 Oli Cabinet </td><th colspan=1 rowspan=4 > Bidhya Devi Bhandari Vidhya Bhandari2.JPG (1. 29 October 2015-) (2. Nepal Communist Party) </th></tr>
<tr> <th colspan=1 rowspan=1 >  </th><th colspan=1 rowspan=1 > (33) </th><td colspan=1 rowspan=1 > - </td><td class="highlighted"  colspan=1 rowspan=1 > Pushpa Kamal Dahal (1954–) 2nd time </td><td class="highlighted"  colspan=1 rowspan=1 > 4 August 2016 </td><td class="highlighted"  colspan=1 rowspan=1 > 7 June 2017 </td><td colspan=1 rowspan=1 > 307 </td><td colspan=1 rowspan=1 > Unified Communist Party of Nepal (Maoist) </td><td colspan=1 rowspan=1 > 2016 Dahal Cabinet </td></tr>
<tr> <th colspan=1 rowspan=1 >  </th><th colspan=1 rowspan=1 > (32) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > Sher Bahadur Deuba (1946–) 4th time </td><td colspan=1 rowspan=1 > 7 June 2017 </td><td colspan=1 rowspan=1 > 15 February 2018 </td><td colspan=1 rowspan=1 > 253 </td><td colspan=1 rowspan=1 > Nepali Congress </td><td colspan=1 rowspan=1 > 2017 Deuba Cabinet </td></tr>
<tr> <th colspan=1 rowspan=1 >  </th><th colspan=1 rowspan=1 > (38) </th><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > KP Sharma Oli (1952–) 2nd time </td><td colspan=1 rowspan=1 > 15 February 2018 </td><td colspan=1 rowspan=1 > Incumbent </td><td colspan=1 rowspan=1 > 440 </td><td colspan=1 rowspan=1 > Nepal Communist Party </td><td colspan=1 rowspan=1 > 2018 Oli Cabinet </td></tr>
</table>
Question:
During what periods of time was Pushpa Kamal Dahal prime minister of Nepal?
Answer:
Pushpa Kamal Dahal (born 1954) was the twice Prime Minister of Nepal from 2008 to 2009 and from 2016 to 2017.