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:
Puri
Table title:
Medieval and early modern periods
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > Invasion number </th><th colspan=1 rowspan=1 > Invader (s), year (s) AD </th><th colspan=1 rowspan=1 > Local rulers </th><th colspan=1 rowspan=1 > Status of the three images of the Jagannatha temple </th></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > 1 </td><td class="highlighted"  colspan=1 rowspan=1 > Raktabahu or Govinda III (798–814) of the Rashtrakuta Empire </td><td colspan=1 rowspan=1 > King Subhanadeva of Bhaumakara dynasty </td><td colspan=1 rowspan=1 > Idols shifted to Gopali near Sonepur. Was brought back to Puri by Yayati I after 146 years and re-consecrated after performing Nabakalebara. </td></tr>
<tr> <td colspan=1 rowspan=1 > 2 </td><td colspan=1 rowspan=1 > Illias Shah, Sultan of Bengal, 1340 </td><td colspan=1 rowspan=1 > Narasinghadeva III </td><td colspan=1 rowspan=1 > Images shifted to a secret location. </td></tr>
<tr> <td colspan=1 rowspan=1 > 3 </td><td colspan=1 rowspan=1 > Feroz Shah Tughlaq, 1360 </td><td colspan=1 rowspan=1 > Ganga King Bhanudeva III </td><td colspan=1 rowspan=1 > Images not found, though rumored that they were thrown into the Bay Of Bengal. </td></tr>
<tr> <td colspan=1 rowspan=1 > 4 </td><td colspan=1 rowspan=1 > Ismail Ghazi commander of Alauddin Hussain Shah of Bengal, 1509 </td><td colspan=1 rowspan=1 > King Prataprudradeva </td><td colspan=1 rowspan=1 > Images shifted to Chandhei Guha Pahada near Chilika Lake. </td></tr>
<tr> <td colspan=1 rowspan=1 > 5 </td><td colspan=1 rowspan=1 > Kalapahara, army assistant general of Sulaiman Karrani of the Afghan Sultan of Bengal, 1568 </td><td colspan=1 rowspan=1 > Mukundadeva Harichandan </td><td colspan=1 rowspan=1 > Images initially hidden in an island in Chilika Lake. However, the invader took the idols from here to the banks of the Ganges River and burnt them. </td></tr>
<tr> <td colspan=1 rowspan=1 > 6 </td><td colspan=1 rowspan=1 > Suleman, the son of Kuthu Khan and Osman, the son of Isha (ruler of Orissa), 1592 </td><td colspan=1 rowspan=1 > Ramachandradeva, the Bhoi dynasty ruler of Khurda </td><td colspan=1 rowspan=1 > Revolt was by local Muslim rulers who desecrated the images. </td></tr>
<tr> <td colspan=1 rowspan=1 > 7 </td><td colspan=1 rowspan=1 > Mirza Khurum, the commander of Islam Khan I, the Nawab of Bengal, 1601 </td><td colspan=1 rowspan=1 > Purushottamadeva of Bhoi Dynasty </td><td colspan=1 rowspan=1 > Image moved to Kapileswarpur village by boat through the river Bhargavi and kept in the Panchamukhi Gosani temple. Thereafter, the deities were kept in Dobandha—Pentha. </td></tr>
<tr> <td colspan=1 rowspan=1 > 8 </td><td colspan=1 rowspan=1 > Hasim Khan, the Subedar of Orissa, 1608 </td><td colspan=1 rowspan=1 > Purushottam Deva, the King of Khurda </td><td colspan=1 rowspan=1 > Images shifted to the Gopal temple at Khurda and brought back in 1608. </td></tr>
<tr> <td colspan=1 rowspan=1 > 9 </td><td colspan=1 rowspan=1 > Hindu Rajput Jagirdar Kesodasmaru, 1610 </td><td colspan=1 rowspan=1 > Purusottamdeva, the king of Khurda </td><td colspan=1 rowspan=1 > Images kept at the Gundicha Temple and brought back to Puri after eight months. </td></tr>
<tr> <td colspan=1 rowspan=1 > 10 </td><td colspan=1 rowspan=1 > Kalyan Malla, 1611 </td><td colspan=1 rowspan=1 > Purushottamadeva, the King of Khurda </td><td colspan=1 rowspan=1 > Images moved to 'Mahisanasi' also known as'Brahmapura' or 'Chakanasi' in the Chilika Lake where they remained for one year. </td></tr>
<tr> <td colspan=1 rowspan=1 > 11 </td><td colspan=1 rowspan=1 > Kalyan Malla, 1612 </td><td colspan=1 rowspan=1 > Paiks of Purushottamadeva, the King of Khurda </td><td colspan=1 rowspan=1 > Images placed on a fleet of boats at Gurubai Gada and hidden under the 'Lotani Baragachha' or Banyan tree) and then at 'Dadhibaman Temple'. </td></tr>
<tr> <td colspan=1 rowspan=1 > 12 </td><td colspan=1 rowspan=1 > Mukarram Khan, 1617 </td><td colspan=1 rowspan=1 > Purushottama Deva, the King of Khurda </td><td colspan=1 rowspan=1 > Images moved to the Bankanidhi temple, Gobapadar and brought back to Puri in 1620. </td></tr>
<tr> <td colspan=1 rowspan=1 > 13 </td><td colspan=1 rowspan=1 > Mirza Ahmad Beg, 1621 </td><td colspan=1 rowspan=1 > Narasingha Deva </td><td colspan=1 rowspan=1 > Images shifted to 'Andharigada' in the mouth of the river Shalia across the Chilika Lake. Moved back to Puri in 1624. </td></tr>
<tr> <td colspan=1 rowspan=1 > 14 </td><td colspan=1 rowspan=1 > Amir Mutaquad Khan alias Mirza Makki, 1645 </td><td colspan=1 rowspan=1 > Narasingha Deva and Gangadhar </td><td colspan=1 rowspan=1 > Not known. </td></tr>
<tr> <td colspan=1 rowspan=1 > 15 </td><td colspan=1 rowspan=1 > Amir Fateh Khan, 1647 </td><td colspan=1 rowspan=1 > Not known </td><td colspan=1 rowspan=1 > Not known </td></tr>
<tr> <td colspan=1 rowspan=1 > 16 </td><td colspan=1 rowspan=1 > Ekram Khan and Mastram Khan on behalf of Mughal Emperor Aurangzeb, 1692 </td><td colspan=1 rowspan=1 > Divyasingha Deva, the king of Khurda </td><td colspan=1 rowspan=1 > Images moved to 'Maa Bhagabati Temple' and then to Bada Hantuada in Banpur across the Chilika Lake, and finally brought back to Puri in 1699. </td></tr>
<tr> <td colspan=1 rowspan=1 > 17 </td><td colspan=1 rowspan=1 > Muhammad Taqi Khan, 1731 and 1733 </td><td colspan=1 rowspan=1 > Birakishore Deva and Birakishore Deva of Athagada </td><td colspan=1 rowspan=1 > Images moved to Hariswar in Banpur, Chikili in Khalikote, Rumagarh in Kodala, Athagada in Ganjam and lastly to Marda in Kodala. </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > 18 </td><td class="highlighted"  colspan=1 rowspan=1 > Followers of Mahima Dharma, 1881 </td><td colspan=1 rowspan=1 > Birakishore Deva and Birakishore Deva of Athagada </td><td colspan=1 rowspan=1 > Images burnt in the streets. </td></tr>
</table>
Question:
What were the first and last invasions?
Answer:
The first invasion occurred by Rastrakuta king Govinda-III (798–814 AD), and the last took place in 1881 AD by the followers of Mahima Dharma.