After the decline of the ancient Chera Dynasty, several dynasties controlled the area, and by ninth century, the region came under the suzerainty of the Perumals of Mahodayapuram.
A piece of inscriptional evidence found at Triprangode indicates that Goda Ravi of Perumal dynasty controlled the present-day district in the early 10th century.
Descriptions about the rulers of Eranad region and Valluvanad region can be seen in Jewish copper plates of Bhaskara Ravi Varman (1000 CE) and  Viraraghava copper plates of Veera Raghava Chakravarthy (1225 CE).

After the disintegration of Perumal kingdom, a number of city-states emerged in the region, including Valluvanad, Vettathunadu (Tanur), Parappanad and Nediyiruppu (Eranad) (ruled by the Zamorins).
Kottakkal, formerly known as Sweta Durgam (the White Fort) in Sanskrit, and Venkalikotta and Venkita Kotta in Malayalam, was a military base of the Kingdom of Valluvanadu in the medieval period.
Nediyiruppu was the earlier capital of the Zamorins of Calicut.

During and around the fall of Perumal Empire, the neighbouring Calicut and its environs were ruled over by Porlathiri.
The Eradis (A title used to denote the rulers of Eranad) of Nediyiruppu marched with their army to Panniyankara and often surrounded the headquarters of Porlathiri.
The ultimate aim was to find access to the sea and thus to participate directly in the maritime trade.
This war lasted for almost half a century.
The battle ended in the victory of the Eradis.
Porlathiri fled to Kolathunadu in search of political asylum.

With the conquest of Polanad, the Eradis who ruled Eranad shifted their headquarters from Nediyiruppu to Calicut, and later began to known as the Zamorin of Calicut.
In the early stage of his territorial development, Zamorin expanded his territories to Parappanad and Vettathunad by defeating their rulers.
The port of Ponnani was a prominent centre of Islamic learning and Tirunavaya was a centre of Vedic learning in medieval Kerala.
The ports of Ponnani, Tanur and Parappanangadi had some of the oldest Muslim settlements in Kerala originated as a result of the trade relationship.
After the decline of the ancient Chera Dynasty, several dynasties controlled the area, and by ninth century, the region came under the suzerainty of the Perumals of Mahodayapuram. A piece of inscriptional evidence found at Triprangode indicates that Goda Ravi of Perumal dynasty controlled the present-day district in the early 10th century. Descriptions about the rulers of Eranad region and Valluvanad region can be seen in Jewish copper plates of Bhaskara Ravi Varman (1000 CE) and  Viraraghava copper plates of Veera Raghava Chakravarthy (1225 CE).
After the disintegration of Perumal kingdom, a number of city-states emerged in the region, including Valluvanad, Vettathunadu (Tanur), Parappanad and Nediyiruppu (Eranad) (ruled by the Zamorins). Kottakkal, formerly known as Sweta Durgam (the White Fort) in Sanskrit, and Venkalikotta and Venkita Kotta in Malayalam, was a military base of the Kingdom of Valluvanadu in the medieval period. Nediyiruppu was the earlier capital of the Zamorins of Calicut.
During and around the fall of Perumal Empire, the neighbouring Calicut and its environs were ruled over by Porlathiri. The Eradis (A title used to denote the rulers of Eranad) of Nediyiruppu marched with their army to Panniyankara and often surrounded the headquarters of Porlathiri. The ultimate aim was to find access to the sea and thus to participate directly in the maritime trade. This war lasted for almost half a century. The battle ended in the victory of the Eradis. Porlathiri fled to Kolathunadu in search of political asylum.
With the conquest of Polanad, the Eradis who ruled Eranad shifted their headquarters from Nediyiruppu to Calicut, and later began to known as the Zamorin of Calicut. In the early stage of his territorial development, Zamorin expanded his territories to Parappanad and Vettathunad by defeating their rulers. The port of Ponnani was a prominent centre of Islamic learning and Tirunavaya was a centre of Vedic learning in medieval Kerala. The ports of Ponnani, Tanur and Parappanangadi had some of the oldest Muslim settlements in Kerala originated as a result of the trade relationship.
Malappuram district