Ayodhya is a city and the administrative headquarters of Faizabad district and the Faizabad division of Uttar Pradesh, India. It shares a municipal corporation with its neighbouring twin city of Faizabad.
The city is identified by some with the legendary city of Ayodhya, and as such, as being the birthplace of Lord Rama and setting of the epic Ramayana. The accuracy of this identification is central to the Ayodhya dispute: modern scholars variously believe that the present-day Ayodhya is same as the legendary Ayodhya, or that the legendary city is a mythical place that came to be identified with the present-day Ayodhya only during the Gupta period around the 4th–5th century AD.
The present-day city is identified as the location of Saketa, which was an important city of the Kosala mahajanapada in the first millennium BC, and later served as its capital. The early Buddhist and Jain canonical texts mention that the religious leaders Gautama Buddha and Mahavira visited and lived in the city.