Bargarh District is an administrative district of Odisha state in eastern India. The city of Bargarh is its district headquarters. The district was carved out of the erstwhile district of Sambalpur on 1 April 1993. In ancient times, Bargarh was part of Dakshina Kosala, along with large parts of western Odisha and the plains of Chhattisgarh. The region was most likely in the pre-Maghadan empire of Mahapadmananda. However there is no mention of the territory in Mauryan inscriptions, so it is unknown whether the Mauryans controlled Dakshina Kosala. After the collapse of the Mauryan empire, Dakshina Kosala became ruled by the Chedis. It was from Dakshina Kosala and Kharavela's ancestors came to Kalinga. Dakshina Kosala was most likely part of Kharavela's empire. After Kharevala, the Megha dynasty ruled the region. In the 4th century CE, the Allahabad inscription records Samudra Gupta defeated Mahendra of Kosala, corresponding roughly to present day Chhattisgarh plains and western Odisha. Although not annexed to the Gupta empire, Kosala remained within Gupta spheres of influence evidenced by presence of Gupta coins in the region. In the 6th century, the Sarabhpuriyas from Sarabha (now identified as Sirpur in present-day Chhattisgarh) came to prominence. Their territory included present-day Bargarh district, as well as parts of Kalahandi. They were succeeded by the Panduvamshis, whose king, Tivaradeva, tried to expand east of Kosala into Utkala, now coastal Odisha. Although he failed, he kept control of Kosala including Bargarh. In the last decades of the 9th century, the Somavamshis ruled over present-day Kosala. Janamejaya I expanded his domain south and east, and defeated the Kalachuris. His son Yayati was blocked by the Kalachuris when attempting to expand into the north and west of Kosala, but Bargarh was in his realm. The Somavamshis were defeated during Rajendra Chola's northern expedition. In the chaos that followed, Yayati II stabilized the kingdom, which corresponded to modern Odisha.