The Gaekwad rule of Baroda began when the Maratha general Pilaji Rao Gaekwad conquered the city from the Mughal Empire in 1721.
In their early years, the Gaekwads served as subordinates of the Dabhade family, who were the Maratha chiefs of Gujarat and holders of the senapati (commander-in-chief) title.