Archaeological excavations/ findings at Pandu Rajar Dhibi and Birbhanpur have indicated settlements in the Ajay and Damodar valleys in the Mesolithic age, around 5,000 BC. Not much is known about the early settlements and the period that followed till around 700 BC in ancient times when the area was referred to as Bardhamanbhukti, which was a part of the Rarh region. It was one the sixteen "janapad" of ancient India. Large and powerful empires such as the Magadhas, Mauryas, Kushanas and Guptas held sway over the area and beyond it. In the 7th century AD, the area was part of the Gauda Kingdom, then ruled by Shashanka. It was subsequently ruled by the Palas and Senas, till Bakhtiyar Khilji captured it in 1199 AD.