Ayodhya district is one of the 75 districts in the northern Indian state of Uttar Pradesh. The city of Ayodhya is its administrative headquarters. The district occupies an area of 2,522 square kilometres (974 sq mi), and had a population of 2,470,996 in the 2011 census. Ayodhya district shares its borders with 6 districts of Uttar Pradesh. It is bordered by Gonda and Basti districts on the northern side, Amethi and Sultanpur districts on the south, and Ambedkar Nagar and Barabanki districts share the border on the east and west.