Kanpur, known in the British period as Cawnpore, is an Indian metropolis in the state of Uttar Pradesh. The greater metropolis is divided into two districts: the urban district of Kanpur Nagar and the rural district of Kanpur Dehat, with the city in the urban district, along with some other townships.