In 1818, after the Third Anglo-Maratha War,  the rule of the Peshwa was formally ended. A fresh treaty effected a readjustment of boundaries, Ajmer and other lands being ceded.
The conclusion of the Third Anglo-Maratha War in 1818 marked the end of Peshwa rule. A new agreement was subsequently reached, which redefined the territorial limits and led to the cession of Ajmer and other lands.