Bareilly is a city in Bareilly district in the Indian state of Uttar Pradesh. It is among the largest metropolises in Western Uttar Pradesh and is the centre of the Bareilly division as well as the historical region of Rohilkhand. The city lies in the Indo-Gangetic Plains, about 252 kilometres (157 mi) northwest of the state capital, Lucknow, and 265 kilometres (165 mi) east of the national capital, New Delhi. With a population of 903,668 in 2011, it is the eighth most populous city in the state, 17th in northern India and 54th in India. It is located on the bank of Ramganga River and is the site of the Ramganga Barrage built for canal irrigation.