When Damajirao Gaekwad, the Maratha general, came to Kathiawad in about 1730, three parties viz Kathis of Devalia carter, some Saiyads holding major part of Amreli. Obtained for the king of Delhi, and Faujdar of Junagadh, subordinate to suba of Ahmedabad, held sway. Damajirao and the Maratha forces defeated all three and levied tribute on all of them. Later Damajirao Gaekwad, established military camps at Amreli and Lathi in 1742–43 A.D. In 1800, the then Gaekwads appointed (1810–1815) Vithalrao Devaji (Dighe/Kathewad Diwanji) as "Sar Subah" of the Gaekwad's Kathiawad possessions. Vithalrao Devaji settled in Amreli and developed the city and its surrounding regions over the next 20 years. It was during this period that Amreli became a proper city. He built many works of public utility; among others, temples, offices, a market, and a dam for the water-supply of the town. It was under Amreli-Okhamandal division, one of four divisions of Baroda State.