Mohammad Sher khan Babi, who owed allegiance to the Mughal governor of Gujarat subah, founded the state of Junagadh and declaring independence in 1730 after Marathas Gaikwad invasion. Muhammad Sher khan Babi, was the founder of the "Babi Dynasty" of Junagadh State dynasty. His descendants, the Babi Nawabs of Junagadh, conquered large territories in southern Saurashtra and ruled over the state for the next two centuries, first as tributaries of Marathas, and later under the Suzerainty of the British Raj. The Junagadh family shares joint descent with the princely houses of Radhanpur and Balasinor, and the small states of Bantva, Manavadar and Sardargarh. Descendents of the Ghilzai Pathans from Afghanistan, they entered India under Usman Khan Babi, a follower of Emperor Humayun. His son, Sher Khan Babi, arrived in Gujarat in the train of Prince Murad Baksh, the Imperial Viceroy. For many years, the family remained the faithful, though powerful, local fief holders of and exceptional loyalty to the Mughal power. The impending collapse of the Islamic Indian empire during the early years of the eighteenth century, prompted the family household to carve out independent Kingdoms of their own to govern, from various landholdings and governorships they held sway. Sher Khan Babi, the Chief of the family, founded the state by expelling the then Mogul Governor in 1735. Originally a Rajput domain, it fell to the Muslims commanded by Mohammed Bagra of Ahmedabad in 1472.