Kanpur ( pronunciation ; formerly Cawnpore) is the largest city in the state of Uttar Pradesh in India. It is the administrative headquarters of Kanpur Nagar district and Kanpur division.
Kanpur has an area of over 605 km2 with an approximate population of 5.03 million inhabitants in its area. It is administratively divided into 6 zones and 110 wards with a ward population range of 19,000 to 30,000. It is the 75th largest city in the world.
The name is believed to have derived from Karnapur (meaning "town of Karna", one of the heroes of the Mahabharata). Another theory is that it came from the nearby town of Makanpur, earlier known as Khairabad, where the Sufi saint of the Madariya Sufi order, Badiuddin Zinda Shah Madar, settled.
In 1207, Raja Kanh Deo of the Kanhpuria clan established the village of Kanhpur, which later came to be known as Kanpur. The area that is now Kanpur was ruled by rulers of Kannauj, Harsha Vardhan, Mihir Bhoja, Jai Chand and early Muslim rulers through the Sur Dynasty. The first mention of Kanpur was made in 1579 during Sher Shah's regime.