Very little is known about the history of Cochin prior to the arrival of the Portuguese as neither inscriptions nor literary works throw much light. Cochin is not mentioned in any of the earlier foreign notices of Malabar. Neither in the accounts of Pliny, Ptolemy, Marco Polo or Ibn Batuta do we find any mention, though they give detailed accounts of places situated to the north and south of Cochin. Though it is generally believed that Cochin port was formed only as late as 1341, there is also the possibility of its existence as a small harbour even earlier. In 1341 the heavy floods, that took place in the Periyar River silted up CranganoreHarbour (Kodungallur). Useless for purposes of trade, this decline in the importance of Cranganore led to Cochin’s rise into prominence and commercial supremacy. The Cochin royal family is much more ancient. The ruler of Cochin State following the break-up of Kulasekhara (1102 AD) was a king whose authority was confined to Cochin and adjoining areas. The Cochin ruler from the Perumpadappu family was the descendant of the Kulasekharas of Mahodayapuram in the maternal line. They were based at Chitrakudam in Perumpadappu Village till the end of the 1 3 t h century. In the 1 3 t h and 1 4 t h centuries the Zamorins who had become the masters of a vast dominion in northern and central Keralam, posed a serious threat to the PerumpadappuSwaroopam. Due to this the headquarters was shifted to Cochin around 1405 AD.
The Kingdom of Cochin, originally known as PerumpadappuSwaroopam, was a part of the extensive Late Chera Empire of the medieval period, which extended over large parts of South India including modern-day Kerala, with Thiruvanjikulam (near present-day Kodungallur in Thrissur district) as its capital.This medieval Hindu kingdom is said to have covered a large territory between Ponnani (in present-day Malappuram district) and Thottappally (Alappuzha district). The history of this kingdom is in two phases; the first pertains to the early history till 1498, before the European arrival in Malabar, and the second, the period after the entry of the Europeans including the Portuguese, the Dutch and the British until the middle of the twentieth century.