Baji Rao II
Peshwa influence in India declined after the defeat of Maratha forces in the 1761 Battle of Panipat, but Pune remained the seat of power. However, the city's fortunes declined rapidly after the 1795 accession of Baji Rao II. Pune was captured by Yashwantrao Holkar in the 1802 Battle of Pune, precipitating the Second Anglo-Maratha War of 1803–1805. Peshwa rule ended with the defeat of Baji Rao II by the British East India Company, under the leadership of Mountstuart Elphinstone, in 1818.