Sikh historian Giani has recorded the details of setting up of Barnala in the annals of Khalsa in this manner that in the year 1775 Baba Ala Singh after offering Bhadaur (set up by King Padhar Sain) to his brother Duna Singh came to Barnala region which was lying aloof at that time. Setting it up, he made it his capital and took under his control surrounding villages. It too appears that Anahadgarh may be existing before and must have been deserted following attacks of Dharvis.