 Maratha-British confrontations continued over the years, with the Holkars maintaining control over Rampura.The last big loss the marathas suffered was at Mahidpur on 21 December 1817.Subsequently, under the Treaty of Mandsaur, on 6 January 1818, Rampura, much like the rest of the Holkar State, became a part of the British territory.