Among the sixteen Mahajanapadas, Kosala is one, which comprised of Shravasti, Kushavati, Saket and Ayodhya. Kosala constituted of the territories of modern Oudh or Awadh, which is located in Uttar Pradesh. The state capital of Kosala was Ayodhya, which was under the command of Prosenjit the Kosala King, a contemporary of Gautama Buddha. The southern side it was bordered by the Ganges, the east had river Gandhak encircling it. Magadha was a neighbouring state to Kosala, and there were conflicts between them. Ajatshatru who was the king of Magadha and Prasenjit were in continuous struggle for power, which finally came to an end with the alignment of the confederation of Lichchhavis with Magadha. After Prasenjit, Vidudabha rose into power and Kosala ultimately amalgamated into Magadha.