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 Qatar
Table title:
Prime Ministers of Qatar (1970–present)
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > No. </th><th colspan=1 rowspan=1 > Name (Birth–Death) </th><th colspan=1 rowspan=1 > Portrait </th><th colspan=2 rowspan=1 > Term of office </th><th colspan=1 rowspan=1 > Time in office </th></tr>
<tr> <th colspan=1 rowspan=1 > 1 </th><td colspan=1 rowspan=1 > Khalifa bin Hamad Al Thani خليفة بن حمد آل ثاني (1930–2016) </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 29 May 1970 </td><td colspan=1 rowspan=1 > 27 June 1995 (Deposed) </td><td colspan=1 rowspan=1 > 25 years, 29 days </td></tr>
<tr> <th colspan=1 rowspan=1 > 2 </th><td colspan=1 rowspan=1 > Hamad bin Khalifa Al Thani حمد بن خليفة آل ثاني (1952–) </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 27 June 1995 </td><td colspan=1 rowspan=1 > 29 October 1996 </td><td colspan=1 rowspan=1 > 1 year, 123 days </td></tr>
<tr> <th colspan=1 rowspan=1 > 3 </th><td class="highlighted"  colspan=1 rowspan=1 > Abdullah bin Khalifa Al Thani عبدالله بن خليفة آل ثاني (1958–) </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 29 October 1996 </td><td class="highlighted"  colspan=1 rowspan=1 > 3 April 2007 (Resigned) </td><td colspan=1 rowspan=1 > 10 years, 157 days </td></tr>
<tr> <th colspan=1 rowspan=1 > 4 </th><td class="highlighted"  colspan=1 rowspan=1 > Hamad bin Jassim bin Jaber Al Thani حمد بن جاسم بن جبر آل ثاني (1958–) </td><td colspan=1 rowspan=1 > - </td><td class="highlighted"  colspan=1 rowspan=1 > 3 April 2007 </td><td colspan=1 rowspan=1 > 26 June 2013 </td><td colspan=1 rowspan=1 > 6 years, 83 days </td></tr>
<tr> <th colspan=1 rowspan=1 > 5 </th><td colspan=1 rowspan=1 > Abdullah bin Nasser bin Khalifa Al Thani سعادة الشيخ عبدالله بن ناصر بن خليفة آل ثاني (1967–) </td><td colspan=1 rowspan=1 > Sheikh Abdullah bin Nasser bin Khalifa Al Thani.jpeg </td><td colspan=1 rowspan=1 > 26 June 2013 </td><td colspan=1 rowspan=1 > Incumbent </td><td colspan=1 rowspan=1 > 5 years, 185 days </td></tr>
</table>
Question:
Who was appointed as Prime Minister in April 2007 and why?
Answer:
In April 2007, Hamad bin Jassim bin Jaber Al Thani was appointed as prime minister, following the resignation of Abdullah bin Khalifa Al Thani.