Azamgarh is a city in the Indian state of Uttar Pradesh. It is the headquarters of Azamgarh division, which consists of Ballia, Mau and Azamgarh districts. Azamgarh is situated on the bank of Tamsa River (Tons). It is located 268 km (167 mi) east of the state capital Lucknow and 809 km from the national capital, Delhi. Azamgarh, one of the easternmost districts (a district in Purvanchal sub-region) of Uttar Pradesh, once formed part of the ancient Kosala kingdom, except its north-eastern part. Azamgarh is also known as the land of the sage Durvasa whose ashram was located in Phulpur tehsil, near the confluence of Tamsa and Majhuee rivers, 6 kilometres (3.7 mi) north of the Phulpur.