<P> The war between Calicut and Cochin began on 1 March 1503 and the second invasion lasted from March 16, 1504, to July 3, 1504 (Battle of Cochin (1504)). However, the oncoming monsoons and the arrival of a Portuguese fleet under Lopo Soares de Albergaria in September, 1504 (and a year later, the armada led by Francisco de Almeida and Afonso de Albuquerque), alarmed the Zamorin, and he recalled his army . The Zamorin resorted to a retreat also because the revered festival of Onam was near, and the Zamorin intended to keep the auspicious day holy . This led to a triumph for the king of Kochi, who was later reestablished in the possession of his kingdom . However, much of the kingdom was burnt and destroyed by the his armies . The tiny garrison, led by Duarte Pacheco Pereira, had achieved a rare military feat in history, successively repelling an invading army several hundred times bigger . It proved a humiliating defeat and a moral blow for the Zamorin of Calicut and undermined his authority in the Malabar region . </P> <P> After securing the king in his throne, the Portuguese got permission to build a fort--- Fort Kochi (Fort Emmanuel) (after the reigning king of Portugal)--surrounding the Portuguese factory, in order to protect it from any further attacks . The entire work was commissioned by the Cochin Raja, who supplied workers and material . The Raja continued to rule with the help of the Portuguese . Meanwhile, the Portuguese secretly tried to enter into an alliance with the Zamorins . Later attempts by the Zamorin at conquering the Kochi port was thwarted by the Cochin Raja with the help of the Portuguese . Slowly, the Portuguese armory at Kochi was increased, with the presumed notion of helping the raja protect Kochi . However, the measure led to decrease in the power of the Cochin Raja, and an increase in the Portuguese influence . </P> <P> From 1503 to 1663, Kochi was ruled by Portugal through the namesake Cochin Raja . Kochi remained the capital of Portuguese India till 1510 . In 1530, Saint Francis Xavier arrived and founded a Christian mission . The following Portuguese period was difficult for the Jews living in the region, since the Inquisition was established in Portuguese India in 1560 . Kochi hosted the grave of Vasco da Gama, the Portuguese viceroy, who was buried at St. Francis Church until his remains were exhumed and interred in Portugal in 1539 . Soon after the time of Albuquerque, the Portuguese rule in Kerala declined . The failure is attributed to intermarriages, forcible conversions, religious persecution, etc . </P> <P> The Portuguese rule was followed by that of the Dutch, who had by then conquered Quilon, after various encounters with the Portuguese and their allies . Discontented members of the Cochin Royal family called on the assistance of the Dutch for help in overthrowing the Cochin Raja . The Dutch successfully landed at Njarakal and headed on to capture the fort at Pallippuram, which they handed over to the Zamorin . Then they went on to establishing the municipality of Fort Kochi in 1664, the first municipality in Indian subcontinent </P>

Which personality was initially buried in kerala before taking to portugal