Ayodhya is a legendary city mentioned in the ancient Sanskrit-language texts, including the Ramayana and the Mahabharata. These texts describe it as the capital of the Ikshvaku kings, including Rama.
Gold carving depiction of the legendary Ayodhya at the Ajmer Jain temple
The Ramayana, also known as Valmiki Ramayana, as traditionally attributed to Valmiki, is a smriti text from ancient India, one of the two important epics of Hinduism known as the Itihasas, the other being the Mahabharata. The epic narrates the life of Rama, a prince of Ayodhya in the kingdom of Kosala. The epic follows his fourteen-year exile to the forest urged by his father King Dasharatha, on the request of Rama's stepmother Kaikeyi; his travels across forests in the Indian subcontinent with his wife Sita and brother Lakshmana; the kidnapping of Sita by Ravana, the king of Lanka, that resulted in war; and Rama's eventual return to Ayodhya along with Sita to be crowned king amidst jubilation and celebration.
An artist's impression of sage Valmiki composing the Ramayana
Rama (left third from top) depicted in the Dashavatara, the ten avatars of Vishnu. Painting from Jaipur, now at the Victoria and Albert Museum
The marriage of the four sons of Dasharatha with the four daughters of Siradhvaja Janaka and Kushadhvaja. Rama and Sita, Lakshmana and Urmila, Bharata and Mandavi and Shatrughna with Shrutakirti. Folio from the Shnagri Ramayana, early 18th-century. National Museum, New Delhi
Rama leaving for fourteen years of exile from Ayodhya.