 By the end of the 16th century, the Portuguese were finally able to deal with the "Mappila challenge".Kunjali Marakkar IV was defeated and killed, with the help of the Samoothiri, in c. 1600 AD.Even after the execution of Marakkar IV, the title of the Kunjali Marakkar continued to exist for almost century.