Kanpur( ; formerly Cawnpore) is a large city in the state of Uttar Pradesh, India. The city is famous for its leather and textile industries. It is the 12th most populous city in India and 11th most populous urban agglomeration. It is also the second largest city proper and the largest urban agglomeration in Uttar Pradesh. Kanpur was an important British garrison town until 1947 when India gained independence. Kanpur is the administrative headquarters of Kanpur Nagar district and Kanpur division.