History of Malappuram district

Malappuram is one of the 14 districts in the South Indian state of Kerala. The district has a unique and eventful history starting from pre-historic times. During the early medieval period, the district was the home to two of the four major kingdoms that ruled Kerala. Perumpadappu was the original hometown of the Kingdom of Cochin, which is also known as Perumbadappu Swaroopam, and Nediyiruppu was the original hometown of the Zamorin of Calicut, which is also known as Nediyiruppu Swaroopam. Besides, the original headquarters of the Palakkad Rajas were also at Athavanad in the district.

Ancient period
The remains of some pre-historic symbols including Dolmens, Menhirs, and Rock-cut caves have been found from various parts of the district. Rock-cut caves have been found from the places like Puliyakkode, Thrikkulam, Oorakam, Melmuri, Ponmala, Vallikunnu, and Vengara. The ancient maritime port of Tyndis, which was a centre of trade with Ancient Rome, is roughly identified with Ponnani, Tanur, and Vallikkunnu-Kadalundi-Chaliyam-Beypore region. Tyndis was a major center of trade, next only to Muziris, between the Cheras and the Roman Empire. Pliny the Elder (1st century CE) states that the port of Tyndis was located at the northwestern border of Keprobotos (Chera dynasty). The North Malabar region, which lies north of the port at Tyndis, was ruled by the kingdom of Ezhimala during Sangam period. According to the Periplus of the Erythraean Sea, a region known as Limyrike began at Naura and Tyndis. However the Ptolemy mentions only Tyndis as the Limyrike's starting point. The region probably ended at Kanyakumari; it thus roughly corresponds to the present-day Malabar Coast. The value of Rome's annual trade with the region was estimated at around 50,000,000 sesterces. Pliny the Elder mentioned that Limyrike was prone by pirates. The Cosmas Indicopleustes mentioned that the Limyrike was a source of peppers. The River Bharathappuzha (River Ponnani) had importance since Sangam period (1st-4th century CE), due to the presence of Palakkad Gap which connected the Malabar coast with Coromandel coast through inland.

Early medieval period
The Kurumathur inscription found near Areekode dates back to 871 CE. Three Old Malayalam inscriptions those date back to 932 CE, those were found from Triprangode (near Tirunavaya), Kottakkal, and Chaliyar, mention the name of Goda Ravi of Chera dynasty. The Triprangode inscription states about the agreement of Thavanur. Several inscriptions written in Old Malayalam those date back to 10th century CE, have found from Sukapuram near Edappal, which was one of the 64 old Nambudiri villages of Kerala. Descriptions about the rulers of Eranad region and Valluvanad region can be seen in Jewish copper plates of Bhaskara Ravi Varman and Viraraghava copper plates of Veera Raghava Chakravarthy. A number of city-states were there in the region, including Valluvanad, Vettathunadu (Tanur), Parappanad and Nediyiruppu (Eranad) (ruled by the Zamorins).

Rise of the Zamorin of Calicut
During and around the fall of Perumal Empire, Calicut and its environs were ruled over by Porlathiri. Eranad was ruled by a Samanthan Nair clan known as Eradis, similar to the Vellodis of neighbouring Valluvanad and Nedungadis of Nedunganad. The rulers of Eranad were known by the title Eralppad/Eradi. 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 power balance in Kerala changed as Eralnadu rulers developed the port at Kozhikode. The Samoothiri became one of the most powerful chiefs in Kerala. In some of his military campaigns – such as that into Valluvanadu – the ruler received unambiguous assistance from the Muslim Middle Eastern sailors. It seems that the Muslim judge of Kozhikode offered all help in "money and material" to the Samoothiri to strike at Thirunavaya. Smaller chiefdoms south of Kozhikode – Beypore, Chaliyam, Parappanadu and Tanur (Vettam) – soon had to submit and became their feudatories one by one.

The ruler of Kozhikode next turned his attention to the valley of Bharathappuzha. Large parts of the valley were then ruled by Valluvakkonathiri, the hereditary chief of Valluvanadu. The principal objective of Kozhikode was the capture the sacred settlement of Thirunavaya. The rivalry that existed between the Nambudiris in the Nambudiri villages of Panniyoor and Chowwara (Sukapuram) was also of great political importance in medieval Kerala. Panniyoor is situated opposite to Kuttippuram town while Sukapuram lies in Edappal. Soon the Samoothiris found themselves intervened in the so-called kurmatsaram between Nambudiris of Panniyurkur and Chovvarakur. In the most recent event, the Nambudiris from Thirumanasseri Nadu had assaulted and burned the nearby rival village. The rulers of Valluvanadu and Perumpadappu came to help the Chovvaram and raided Panniyur simultaneously. Thirumanasseri Nadu was overran by its neighbours on south and east. The Thirumanasseri Nambudiri appealed to the ruler of Kozhikode for help, and promised to cede the port of Ponnani to Kozhikode as the price for his protection. Kozhikode, looking for such an opportunity, gladly accepted the offer.

Assisted by the warriors of their subordinate chiefs (Chaliyam, Beypore, Tanur and Kodungallur) and the Muslim naval fleet under the Koya of Kozhikode, the Samoothiri's fighters advanced by both land and sea. The main force under the command of Samoothiri himself attacked, encamping at Triprangode, an allied force of Valluvanadu and Perumpadappu from the north. Meanwhile, another force under the Eralppadu commanded a fleet across the sea and landed at Ponnani and later moved to Thirumanasseri, with an intention to descend on Thirunavaya from the south with help of the warriors of the Thirumanasseri Brahmins. Eralppadu also prevented the warriors of Perumpadappu from joining Valluvanadu forces. The Muslim merchants and commanders at Ponnani supported the Kozhikode force with food, transport, and provisions. The warriors of the Eralppadu moved north and crossed the Bharathappuzha and took up position on the northern side of the river. The Koya marched at the head of a large column and stormed Tirunavaya. In spite of the fact that the warriors of Valluvanadu did not get the timely help of Perumpadappu, they fought vigorously and the battle dragged on. In the meantime, the Kozhikode minister Mangattachan was also successful in turning Kadannamanna Elavakayil Vellodi (junior branch of Kadannamanna) to their side. Finally, two Valluvanadu princes were killed in the battles, the Nairs abandoned the settlement and Kozhikode infested Tirunavaya.

The capture of Thirunavaya was not the end of Kozhikode's expansion into Valluvanadu. The Samoothiri continued surges over on Valluvanadu. Malappuram, Nilambur, Vallappanattukara and Manjeri were easily occupied. He encountered stiff resistance in some places and the fights went on in a protracted and sporadic fashion for a long time. Further assaults in the east against Valluvanadu were neither prolonged nor difficult for Kozhikode.

The battles along the western borders of Valluvanadu were bitter, for they were marked by treachery and crime. Panthalur and Ten Kalams came under Kozhikode only after a protracted struggle. The assassination of a minister of Kozhikode by the chief minister of Valluvanadu while visiting Kottakkal in Valluvanadu sparked the battle, which dragged on for almost a decade. At last, the Valluvanadu minister was captured by Samoothiri's warriors and executed at Padapparambu, and his province (Ten Kalams, including Kottakkal and Panthalur) was occupied by the Samoothiri. The Kizhakke Kovilakam Munalappadu, who took a leading part in this campaign, received half of the newly captured province from Samoothiri as a gift. The loss of this fiercely loyal chief minister was the greatest blow to Valluvanadu after the loss of Tirunavaya and Ponnani.

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.

Late medieval period
Thrikkavil Kovilakam in Ponnani served as a second home for Zamorin, and his navy headquarters. Archaeological relics found in Malappuram include the remnants of palaces of the eastern branch of the Zamorin reign. Malappuram was the military headquarters of the Zamorin in the Eranad region. The Zamorins held sway over Malappuram and their chieftain Para Nambi, ruled the area in the early days with headquarters at Downhill (Kottappadi), Malappuram. Zamorin earned a greater part of his revenue by taxing the spice trade through his ports. Smaller ports in kingdom included Parappanangadi, Tanur, and Ponnani. The headquarters of the Azhvanchery Thamprakkal, who were considered as the supreme religious head of Kerala Brahmins, was at Athavanad. Besides, the original headquarters of the Palakkad Rajas were also at Athavanad.

The works like Kozhikode Granthavari, Mamakam Kilippattu written by Kadanchery Namboodiri in 17th-century CE, Kandaru Menon Patappattu (1683), and Ramchcha Panicker Pattu contains pieces of information about the Mamankam festival held at the bank of Bharathappuzha in Tirunavaya. The modern Malayalam alphabet (accepted by Thunchaththu Ezhuthachan), and the Arabi-Malayalam script (also known as Ponnani script) were developed in the district during the medieval period. The Sanskrit works like Kokila Sandeśa (15th-century CE) written by Uddanda Śāstrī, Bhramara Sandesham (17th century CE) by Vasudevan, and Chathaka Sandesha (18th-century CE) have descriptions about Tirunavaya and Triprangode. Many medieval Malayalam works also help to trace the history of district.

Portuguese era


The ruler of the Kingdom of Tanur, who was a vassal to the Zamorin of Calicut, sided with the Portuguese, against his overlord at Kozhikode. As a result, the Kingdom of Tanur (Vettathunadu) became one of the earliest Portuguese Colonies in India. The ruler of Tanur also sided with Cochin. Many of the members of the royal family of Cochin in 16th and 17th centuries were selected from Vettom. However, the Tanur forces under the king fought for the Zamorin of Calicut in the Battle of Cochin (1504). However, the allegiance of the Mappila merchants in Tanur region still stayed under the Zamorin of Calicut. Thunchaththu Ezhuthachan, who is considered as the father of modern Malayalam literature, was born at Tirur (Vettathunadu) during Portuguese period. The medieval Kerala school of astronomy and mathematics that flourished between the 14th and 16th centuries, was also primarily based in Vettathunadu (Tirur region)

In the 16th century, the district witnessed several battles between Kozhikode naval chiefs, known as the Kunhali Marakkars, and the Portuguese colonizers. Towards the end of the year 1507, the Portuguese Viceroy Francisco de Almeida was informed that a column of 13 Muslim ships had taken cargo - mainly spices - from Ponnani and was about to leave for the Red Sea. The Viceroy immediately decided to corner the fleet. The decision was perhaps made with a view to retrieve the Portuguese prestige lost on account of some incidents at Angediva and Dabul. Almeida himself commandeered the fleet of 12 vessels consisting of four naus, six caravels, and two gales. The fleet had about 6,000 European soldiers, led by a collection of noblemen such as Pero Barreti, Diogo Pires, Lourenco de Almeida, and Nuno da Cunha, son of Tristao da Cunha and a handful of Cochin soldiers.

The defenses of the Ponnani Port were repaired and strengthened by the Zamorin after this event. The Zamorin appointed Kunjali Marakkar I, his loyal naval chief, in the port of Ponnani, to resist the Portuguese occupation. The Kunjali Marakkars are credited with organizing the first naval defense of the Indian coast. It seems that Kunjali Marakkar I, assisted by Kutti Ali and Pacchi Marakkar, subsequently constructed a naval base at Ponnani. Kutti Ali sent harassing raids from Ponnani to Cochin and reinforcement fleets to Kozhikode. In 1523 when the Viceroy Menezes sailed with all the available ships to Hormuz, an Arab merchant, one Kutti Ali of Tanur, had the effrontery to bring a fleet of two hundred vessels to Calicut, to load eight ships with pepper, and to despatch them with a convoy of forty vessels to the Red Sea before the very eyes of the Portuguese.

The Zamorin later faced a protest in 1540 by Kutti Pocker, who is popularly known as Kunjali Marakkar II (a title given to the naval chief of the Zamorin) when the Zamorin signed a treaty with the Portuguese power in Ponnani. Tanur town was one of the earliest Portuguese colonies in the Indian subcontinent. In 1552, the Zamorin received assistance in heavy guns landed at Ponnani, brought by certain Yoosuf, a Turk, who had sailed against the monsoon winds. In 1566 and again in 1568, Kutti Pocker and his men captured two Portuguese ships. Around a thousand soldiers from one of these ships were killed either by the sword or drowning. Kutti Pocker was later in killed off the coast of Mangalore while returning from a successful raid on the Portuguese fort there.

A Portuguese fleet of 40 vessels under the command of Diogo de Meneses is known to have pillaged Ponnani, sometime before 1570 AD. The strategic Chaliyam - also known as Challe- which was then a part of the Kingdom of Tanur, was a Portuguese garrison between 1531–1571. Chāliyam was a strategic site, for it was only 10 km south of Calicut and was situated in Chaliyar River that falls into the sea about three leagues from Calicut, which was navigable by boats all the way to the foot of the Western Ghats mountains throogh Nilambur valley. In 1532 with the help of the ruler of Tanur, a chapel was built at Chaliyam, together with a house for the commander, barracks for the soldiers, and store-houses for trade. Diego de Pereira, who had negotiated the treaty with the Zamorin, was left in command of this new fortress, with a garrison of 250 men; and Manuel de Sousa had orders to secure its safety by sea, with a squadron of twenty-two vessels. The Zamorin soon repented of having allowed this fort to be built in his dominions, and used ineffectual endeavours to induce the ruler of Parappanangadi, Caramanlii (King of Beypore?) (Some records say that the ruler of Tanur was also with them ) to break with the Portuguese, even going to war against them. In 1571, the Zamorin sent against the Fort Chaliyam certain of his ministers in command over the Moors (a term used by William Logan to indicate Mappilas and Arab Merchants) of Ponnani, Tanur, and Parappanangadi, who was assisted by bodies of people from Chaliyam. The army led by troops of Zamorin won to seize the Portuguese fort at Chaliyam In 1573, Parappanangadi town was burnt by the Portuguese. In 1578, peace negotiations between Zamorin and the Portuguese were strengthened. However, the Zamorin refused to agree to construct a Portuguese fort at Ponnani. It is also known that Gil Eanes Mascarenhas opened fire from his ships to the port and killed a large number of natives in 1582. Mascarenhas was later captured and executed by the forces of Kunjali Marakkar.

The Tuhfat Ul Mujahideen written by Zainuddin Makhdoom II (born around 1532) in Ponnani during 16th-century CE is the first-ever known book fully based on the history of Kerala, written by a Keralite. It is written in Arabic and contains pieces of information about the resistance put up by the navy of Kunjali Marakkar alongside the Zamorin of Calicut from 1498 to 1583 against Portuguese attempts to colonise Malabar coast. It was first printed and published in Lisbon. A copy of this edition has been preserved in the library of Al-Azhar University, Cairo.

Colonial period
When William Keeling, a sea captain of English East India Company arrived at the Kingdom of Calicut in 1615, he was allowed to start warehouses in the port of Ponnani, through a treaty signed with the then Zamorin of Calicut. By the middle of the seventeenth century, the Dutch had attained monopoly over trade in many ports in Kerala. However, some factories in Ponnani came under the trade monopoly of English. During 18th century, the de facto Mysore kingdom rulers Hyder Ali and Tipu Sultan marched into Zamorin's kingdom. With headquarters at Manjeri, Tipu's army was spread in many areas. Tipu had a fort at Paloor near Perinthalmanna on his way from Palakkad to the Zamorin's kingdom, where now a waterfall only remains.

The Battle of Tirurangadi was a series of engagements that took place between the British army and Tipu Sultan between 7 and 12 December 1790 at Tirurangadi, during the Third Anglo-Mysore War. In 1792, Tipu Sultan was defeated by English East India Company through Third Anglo-Mysore War, and the Treaty of Seringapatam was agreed. As per this treaty, most of the Malabar region, including present-day Malappuram district, was integrated into the English East India Company. In 1793, the district became a part of the newly formed Malabar. On 20 May 1800, the East India Company separated Malabar from Bombay Presidency and annexed it with the Madras Presidency. The British had established a Barracks called Haig Barracks in the city of Malappuram, which has now been turned into Malappuram Collectorate. Malappuram acted as the military headquarters of British Malabar, as it was the centre of Malabar Special Police. Malabar Special Police is also the oldest armed police battalion in the state. The district was the venue for many of the Mappila revolts (uprisings against the British East India Company in Kerala) between 1792 and 1921. It is estimated that there were about 830 riots, large and small, during this period. Muttichira revolt, Mannur revolt, Cherur revolt, Manjeri revolt, Wandoor revolt, Kolathur revolt, Ponnani revolt, and Thrikkalur revolt are some important revolts during this period. During 1841–1921 there were more than 86 revolutions against the British officials alone. East India Company made an arrangement to collect revenue through Zamorin. However, a revolt under the leadership of Manjeri Athan Gurukkal took place against this in 1849. The district was administered as parts of Eranad, Valluvanad and Ponnani subdistricts in the South Malabar region during the British rule. The oldest teak plantation of the world at Conolly's plot is just 2 km from Nilambur town. It was named in memory of Henry Valentine Conolly, the then district collector of Malabar. The first railway line in the state started its function from Tirur to Beypore on 12 March 1861, with the oldest Railway Station at Tirur. The Koyi Thampurans of Travancore belongs to Parappanad Royal Family. It was from this family that the consorts of the Rani's Travancore family were usually selected.

Malabar Rebellion
The Malabar district political conference of Indian National Congress held at Manjeri on 28 April 1920 strengthened Indian independence movement and national movement in British Malabar. That conference declared that the Montagu–Chelmsford Reforms were not able to satisfy the needs of British India. It also argued for a land reform to seek solutions for the problems caused by the tenancy that existed in Malabar. However, the decision widened the drift between extremists and moderates within the Congress. The conference resulted in the dissatisfaction of landlords with the Indian National Congress. It caused the leadership of the Malabar district Congress Committee to come under the control of the extremists who stood for labourers and the middle class.

Malappuram has been part of Khilafat Movement just after the Manjeri conference. The Khilafat non-cooperation demonstration conducted at Kalpakanchery in Ponnani Taluk (now a part of Tirur Taluk) on 22 March 1921 under the leadership of K. P. Kesava Menon was attended by about 20,000 people. The first all Kerala provincial conference of Indian National Congress held at Ottapalam in April 1921 also influenced the rebellion. Malabar Rebellion of 1921 was the last and important among the Mappila rebellions.

The cities/towns of Malappuram, Manjeri, Kondotty, Perinthalmanna, and Tirurangadi were the main strongholds of the rebels. The Battle of Pookkottur occurred as a part of the rebellion. After the army, police, and British authorities fled, the declaration of independence took place over 200 villages in Eranad, Valluvanad, Ponnani, and Kozhikode taluks. The new country was given the name Malayala Rajyam (The land of Malayalam). On 25 August 1921, Variyankunnath Kunjahammad Haji inaugurated the Military Training Center at Angadipuram, which was started by the revolutionary government. The feudal customs of Kumpil Kanji and Kanabhumi were abolished and the tenants were made landowners. A tax exemption was given for one year and a tax was imposed on the movement of goods from Wayanad to Tamil Nadu. Similar to the British, the structure of administration was built upon Collector, Governor, Viceroy, and King. The parallel government established courts, tax centers, food storage centers, the military, and the legal police. Passport system was introduced for those in the new country. Although the nation's lifespan is less than six months, some British officials have suggested that the region was ruled by a parallel government for more than a year. The rebels won to establish self-rule in the region for about six months. However less than six months after the declaration of autonomy, the East India Company reclaimed the territory and annexed it to the British Raj. The war was directly controlled by British Army Commander-in-Chief Chief Rawlson, General Barnett Stuart, Intelligence Chief Maurice Williams, and Police General Armitage. Many of the important British military regiments including Dorset, Karen, Yenier, Linston, Rajputana, Gorkha, Garwale, and Chin Kutchin reached Malabar for the reannexation of the South Malabar. The Wagon tragedy (1921) is still a saddening memory of the Malabar rebellion, where 64 prisoners died on 20 November 1921. The prisoners had been taken into custody following the Mappila Rebellion in various parts of the district. Their deaths through apparent negligence generated sympathy for Indian independence movement.

Post-colonial period
Malabar remained as a part of the state of Madras for a few years after the declaration of Indian independence.

Malappuram was one of the five revenue divisions in the Malabar district with the Taluks of Eranad (headquartered at Manjeri) and Valluvanad (headquartered at Perinthalmanna) under its jurisdiction, while the other four being Thalassery, Kozhikode, Palakkad and Fort Cochin.

Later in 1956, Malabar merged with the erstwhile state of Travancore-Cochin to form Kerala following the linguistic reorganisation of states. The newly merged Malabar was divided into Kannur, Kozhikode, and Palakkad districts of Kerala in 1957. The Eranad Taluk of erstwhile Malappuram revenue division was added to the new Kozhikode district and Valluvanad Taluk was added to Palakkad. Large-scale changes in the territorial jurisdiction of the region took place between 1957 and 1969. On 1 January 1957, the Tirur subdistrict was formed by adjoining major portions of the Eranad and Ponnani subdistricts. Another portion of the Ponnani subdistrict was carved out to form Chavakkad subdistrict (in Thrissur district), and the remainder is the present-day Ponnani. Perinthalmanna was formed by carving out some portions from the erstwhile Valluvanad subdistrict. Of these, Eranad and Tirur subdistricts remained in Kozhikode district, while Perinthalmanna and Ponnani subdistricts continued in Palakkad.

Present day district
In 1969, following intense demand from Indian Union Muslim League and various organizations the district of Malappuram was formed by the Saptakakshi Munnani government of Kerala. The new district was formed with four subdistricts (Eranad, Perinthalmanna, Tirur, and Ponnani), four towns, fourteen developmental blocks, and 95 Gram panchayats at the time. Later, Tirur Taluk was bifurcated to form Tirurangadi Taluk, and Eranad Taluk was trifurcated to form two more Taluks namely Nilambur and Kondotty.

In the early years of Communist rule in Kerala, Malappuram experienced land reform under the Land Reform Ordinance. In the 1970s, the oil reserves in the Persian Gulf countries were opened to commercial extraction and thousands of unskilled workers migrated to the gulf. They sent money home, supporting the rural economy, and by the late 20th century, the region attained First World health standards and near-universal literacy.