Koch Bihar) and others attacked Parikshit Narayan, the ruler of Koch Hajo. Parikshit, defeated at Dhubri, sued for peace. But he soon continued with the hostilities and in 1614 was driven up to Pandu, now in Guwahati. Here, Parikshit surrendered and agreed to become a vassal of the Mughal Empire. But before he could take up this assignment he died. The Mughals then appointed Kabisekhar as the Qanungoh and instructed Sheikh Ibrahim Karori to set up a Mughal system of administration. The Mughals appointed Bijit Narayan, son of Parikshit Narayan, as the zamindar of the region between river Sankosh and Manas, and he became the founder of the Bijni branch of the Koch royal family which finally settled in Abhayapuri. In 1657, Lutfullah Shirazi, the faujdar of Shujabad, built the hilltop mosque in Hajo known as Powa-Makkah Barmaqam. Mughal divisions The Mughal divided the kingdom of Koch Hajo into four sarkars. They were: Uttarkol or Dhekeri, north of the Brahmaputra. Dakhinkol, south of Brahmaputra. Kamrup (or Shujabad), containing Guwahati and Hajo. Bangalahbhumi, containing Bahirbund and Bhitarbund. The four sarkars were further divided into parganas, and traces of this revenue system exists till today. The Mughal influence in Kamrup ended in 1682. The Mughal political influence on Koch Hajo lasted for eighty years. Darrang With the Mughals reaching the doorsteps of the Ahoms, hostilities ensued. These finally led to a large Mughal army attacking the Ahom kingdom in 1615-1616. On January 27, 1616, the Ahoms, under the king Pratap Singha, attacked the Mughals before dawn and massacred a major portion of the Mughal army. The Ahoms defeated the Mughals in the Bharali war and re-occupied Darrang from the Mughals. After the region was cleared of the Mughals, Pratap Singha established BaliNarayan, the brother of Parikshit Narayan Raghu Deva's son died in a war with Lakhminarayan in the past and balance were killed by Mugals earlier), as the Raja of Darrang. Pratap Singha christened Bali Narayan as Dharma Narayan. This Balinarayan had nothing to do with Raghudeva brother of Lakhsminarayan of Koch Bihar. The Ahoms, with the help of Bali Narayan, then moved against the remnant of the Mughals ruling in Hajo. After many battles the Ahoms and Bali Narayan's army finally conquered Hajo and removed their influence from Goalpara. Bali Narayan began his rule from Hajo. This did not last for long and the Mughals maintained their attack on Koch Hajo.