History of Kannur
The Mooshaka kings and the Kolathiris
The earliest rulers of Kannur in written history are the Mooshaka kings. They governed the Chirakkal and Kasargod areas from Mount Eli, also called Elimala or Ezhimala, a name that means "Rat Mountain".
By the 14th century their kingdom was called Kolathunad, and its rulers were the Kolathiris. They rose to power across north Kerala and competed with the Zamorins of Kozhikode. Arab scholars who travelled here in those years wrote about Baliapatam, Srikantapuram, Dharmadam, Bekal and Ezhimala.
The Portuguese and the Dutch
When the Portuguese navigator Vasco da Gama reached India, everything changed, for the Kolathiris and for the whole country. The Zamorins had the support of the Arabs. The Kolathiris hoped that the Portuguese would bring them the wealth and strength to match their rivals.
The Portuguese used this quarrel between neighbours to build forts wherever they mattered most. The chief one was St. Angelo's Fort at Kannur, which Francisco de Almeida built in 1505. From these bases they stopped ships on their way to Kozhikode and became masters of the Indian seas.

In time the Kolathiris saw that they had chosen badly and made common cause with the Zamorins. Led by Kunjali Marakkar of Kozhikode, the allies went to war with the Portuguese and laid siege to Kannur Fort in 1564. The attack was driven back, and the Portuguese held the fort until the Dutch captured it in February 1663.
The English and the French
Late in the 17th century the English East India Company gained a base in the area by setting up a fort and a factory at Thalassery. The Kolathiris grew weaker, while the Company's trade flourished until the early 18th century. In 1725 the French took Mayyazhi and gave it a new name, Mahe, after their captain, Francois Mahe de Labourdonnais.
By the later 1700s Malabar had been invaded and conquered by Hyder Ali and then by his son, Tipu Sultan. The treaty of Sreerangapatanam formally gave the region to the British. The Rajas of Chirakkal, Kottayam and Kadathanad then signed agreements that accepted the Company's full authority over their lands.

Pazhassi Raja's revolt
The Company's way of collecting revenue in Malabar was deeply unpopular, and it led to a serious uprising. At its head was Kerala Varma Pazhassi Raja, of the Padinjare Kovilakam branch of the Kottayam family. He put a stop to all tax collection in Kottayam.
The British tried to seize him in his palace at Pazhassi in 1796 and failed. Clash followed clash, and he became a constant worry to them. They warned people against helping him and offered a reward for his capture. The Raja escaped into the forests of Wayanad and led guerrilla attacks from there, until he was shot dead on 30 November 1805.
The freedom movement
Every major political movement of modern times has found strong support in Kannur, and the Indian National Congress won people over early. During the Non Co-operation movement, a non-violent campaign for Swaraj, or self-rule, large numbers of people in Kannur turned their backs on foreign goods, the law courts and educational institutions.
Payyannur became the centre of the Salt Satyagraha in Malabar. The authorities raided the camp there and beat the volunteers. Protests spread through Kannur, Thalassery and the rest of the district. Congress workers defied the salt laws and stood picket outside liquor shops and the shops of dealers in foreign goods.
In the late 1930s the left wing of the Kerala Provincial Congress was active in Malabar too, and in 1939 a branch of the Indian Communist Party was formally set up. Anti-Imperialist Day, 15 September 1940, brought fierce protests. Police and people fought in several places, and two young men lost their lives at Morazha. Kannur also answered the call of the Quit India movement in August 1942.
After the war
Hunger did not end with the world war in 1945. Karivellur, in the far north of today's district, took a historic stand against poverty and famine. Villagers stopped paddy from being carried off to Chirakkal Kovilakam and shared it out among themselves. The police opened fire, and two men died as martyrs.
In the years that followed, peasants also rose up in places such as Thillankeri, Manayankunnu, Korom and Paddikkunnu. People in Kannur are still known for their keen interest in politics, a legacy of the struggles they joined before and after independence.