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 Chief Ministers of Himachal Pradesh
Table title:
Chief Ministers of Himachal Pradesh
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > No </th><th colspan=1 rowspan=1 > Name </th><th colspan=1 rowspan=1 > Portrait </th><th colspan=2 rowspan=1 > Term of office </th><th colspan=2 rowspan=1 > Party </th><th colspan=1 rowspan=1 > Days in office </th></tr>
<tr> <td colspan=1 rowspan=1 > 1 </td><td colspan=1 rowspan=1 > Yashwant Singh Parmar MLA for Pachhad </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 8 March 1952 </td><td colspan=1 rowspan=1 > 31 October 1956 </td><td colspan=1 rowspan=1 > Indian National Congress </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > 1699 Days </td></tr>
<tr> <th colspan=8 rowspan=1 > Office abolished, 1956–63 </th></tr>
<tr> <td colspan=1 rowspan=1 > (1) </td><td colspan=1 rowspan=1 > Yashwant Singh Parmar MLA for Renuka </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 1 July 1963 </td><td colspan=1 rowspan=1 > 28 January 1977 </td><td colspan=1 rowspan=2 > Indian National Congress </td><td colspan=1 rowspan=2 >  </td><td colspan=1 rowspan=1 > 4961 Days [Total 6660 Days] </td></tr>
<tr> <td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > Thakur Ram Lal MLA for Jubbal Kotkhai </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 28 January 1977 </td><td colspan=1 rowspan=1 > 30 April 1977 </td><td colspan=1 rowspan=1 > 93 Days </td></tr>
<tr> <td colspan=1 rowspan=1 > – </td><td colspan=1 rowspan=1 > Vacant (President's rule) </td><td colspan=1 rowspan=1 > Presidential Standard of India.PNG </td><td colspan=1 rowspan=1 > 30 April 1977 </td><td colspan=1 rowspan=1 > 22 June 1977 </td><td colspan=1 rowspan=1 > N/A </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > Shanta Kumar MLA for Sullah </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > 22 June 1977 </td><td colspan=1 rowspan=1 > 14 February 1980 </td><td colspan=1 rowspan=1 > Janata Party </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > 968 Days </td></tr>
<tr> <td colspan=1 rowspan=1 > (2) </td><td colspan=1 rowspan=1 > Thakur Ram Lal [2] MLA for Jubbal Kotkhai </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 14 February 1980 </td><td colspan=1 rowspan=1 > 7 April 1983 </td><td colspan=1 rowspan=3 > Indian National Congress </td><td colspan=1 rowspan=3 >  </td><td colspan=1 rowspan=1 > 1148 Days [Total 1241 Days] </td></tr>
<tr> <td colspan=1 rowspan=2 > 4 </td><td colspan=1 rowspan=2 > Virbhadra Singh MLA for Jubbal Kotkhai </td><td colspan=1 rowspan=2 > - </td><td colspan=1 rowspan=1 > 8 April 1983 </td><td colspan=1 rowspan=1 > 8 March 1985 </td><td colspan=1 rowspan=1 > 700 Days </td></tr>
<tr> <td colspan=1 rowspan=1 > 8 March 1985 </td><td colspan=1 rowspan=1 > 5 March 1990 </td><td colspan=1 rowspan=1 > 1824 Days </td></tr>
<tr> <td colspan=1 rowspan=1 > (3) </td><td colspan=1 rowspan=1 > Shanta Kumar [2] MLA for Palampur </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > 5 March 1990 </td><td colspan=1 rowspan=1 > 15 December 1992 </td><td colspan=1 rowspan=1 > Bharatiya Janata Party </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > 1017 Days [Total 1985 Days] </td></tr>
<tr> <td colspan=1 rowspan=1 > – </td><td colspan=1 rowspan=1 > Vacant (President's rules) </td><td colspan=1 rowspan=1 > Presidential Standard of India.PNG </td><td colspan=1 rowspan=1 > 15 December 1992 </td><td colspan=1 rowspan=1 > 3 December 1993 </td><td colspan=1 rowspan=1 > N/A </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > (4) </td><td colspan=1 rowspan=1 > Virbhadra Singh [3] MLA for Rohru </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 3 December 1993 </td><td colspan=1 rowspan=1 > 23 March 1998 </td><td colspan=1 rowspan=1 > Indian National Congress </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > 1572 Days </td></tr>
<tr> <td colspan=1 rowspan=1 > 5 </td><td class="highlighted"  colspan=1 rowspan=1 > Prem Kumar Dhumal [1] MLA for Bamsan </td><td colspan=1 rowspan=1 > - </td><td class="highlighted"  colspan=1 rowspan=1 > 24 March 1998 </td><td class="highlighted"  colspan=1 rowspan=1 > 5 March 2003 </td><td colspan=1 rowspan=1 > Bharatiya Janata Party </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > 1807 Days </td></tr>
<tr> <td colspan=1 rowspan=1 > (4) </td><td colspan=1 rowspan=1 > Virbhadra Singh [4] MLA for Rohru </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 6 March 2003 </td><td colspan=1 rowspan=1 > 30 December 2007 </td><td colspan=1 rowspan=1 > Indian National Congress </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > 1761 Days </td></tr>
<tr> <td colspan=1 rowspan=1 > (5) </td><td class="highlighted"  colspan=1 rowspan=1 > Prem Kumar Dhumal [2] MLA for Bamsan </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 30 December 2007 </td><td class="highlighted"  colspan=1 rowspan=1 > 25 December 2012 </td><td colspan=1 rowspan=1 > Bharatiya Janata Party </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > 1817 Days [Total 3624 Days] </td></tr>
<tr> <td colspan=1 rowspan=1 > (4) </td><td colspan=1 rowspan=1 > Virbhadra Singh [5] MLA for Shimla Rural </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 25 December 2012 </td><td colspan=1 rowspan=1 > 27 December 2017 </td><td colspan=1 rowspan=1 > Indian National Congress </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > 1828 Days [Total 7680 Days] </td></tr>
<tr> <td colspan=1 rowspan=1 > 6 </td><td colspan=1 rowspan=1 > Jai Ram Thakur MLA for Seraj </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 27 December 2017 </td><td colspan=1 rowspan=1 > Incumbent </td><td colspan=1 rowspan=1 > Bharatiya Janata Party </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 > 489 Days </td></tr>
</table>
Question:
What years did Prem Kumar Dhumal serve as the Chief Minister of Himachal Pradesh?
Answer:
Prem Kumar Dhumal served twice as Chief Minister of Himachal Pradesh, from March 1998 to March 2003 and again until 25 December 2012.