them instead. Pattambi-Ottapalam Taluk were ruled by the Zamorin of Calicut, and Mannarkkad Taluk was a part of the Kingdom of Valluvanad, which was also later annexed by the Zamorin. Pattambi - Ottapalam areas were originally a part of Nedunganad (ruled by Nedungadis, which was later annexed by the Kingdom of Valluvanad, which was again followed by the conquest of the Zamorin of Calicut around 15th century C. E. Nedunganad was ruled by a Samanthan Nair clan known as Nedungadis, similar to the Eradis of Eranad and Vellodis of Valluvanad. Other kingdoms in Palakkad district during medieval period included Kollengode and Kavalappara. Both of them became a part of the kingdom of Zamorin of Calicut around 15th century CE. Parts of Palakkad had also become under the Zamorin for sometime. In 1757, to resist the invasion of the Zamorin of Kozhikode, the Palakkad Raja sought the help of the Hyder Ali of Mysore. In 1766, Hyder Ali defeated the Zamorin of Kozhikode – an East India Company ally at the time – and absorbed Kozhikode into his state. The Hyder Ali rebuilt Palakkad Fort in 1766. The smaller princely states in northern and north-central parts of Kerala (comprising Malabar District) including Kolathunadu, Kottayam, Kadathanadu, Kozhikode, Tanur, Valluvanad, and Palakkad were unified under the rulers of Mysore and were made a part of the larger Kingdom of Mysore. His son and successor, Tipu Sultan, launched campaigns against the expanding British East India Company, resulting in two of the four Anglo-Mysore Wars. Tipu ultimately ceded the Malabar District and South Kanara to the company in the 1790s as a result of the Third Anglo-Mysore War and the subsequent Treaty of Seringapatam; both were annexed to the Bombay Presidency (which had also included other regions in the western coast of India) of British India in the years 1792 and 1799 respectively. Later in 1800, both of the Malabar District and South Canara were separated from Bombay presidency to merge them with the neighbouring Madras Presidency. Palakkad was under British Raj until 1947. The municipality of Palakkad was formed on 1 November 1866 according to the Madras Act 10 of 1865 (Amendment of the Improvements in Towns act 1850) of the British Indian Empire, along with the municipalities of Kozhikode, Kannur, Thalassery, and Fort Kochi, making them the first modern municipalities in the modern state of Kerala. Present-day Palakkad district was a part of