Peshwa's revenues. A few months later (6 November 1817), it was arranged with the Gaekwad that he should, in payment of a subsidiary force, cede to the British the rights he had obtained under the Peshwa's farm, and, in exchange for territory near Baroda, give up his own share in the city of Ahmedabad. The only exception to this transfer was that the Gaekwad was allowed to keep his fort, Gaekwad Haveli, in the south-west corner of the city. In 1753, the armies of the Maratha generals Raghunath Rao and Damaji Gaekwad captured the city and ended Mughal rule in Ahmedabad. A famine in 1630 and the constant power struggle between the Peshwa and the Gaekwad virtually destroyed the city. Many suburbs of the city were deserted and many mansions lay in ruins. British company rule (1817–1857) Dunlop, British Collector of Kaira took over administration of the city in 1818. In June 1819, Rann of Kutch earthquake hit the city damaging several monuments and houses in the city. The political stability, establishment of order and the lowering of the taxes, gave a great impetus to trade and the city was for a time busy and prosperous. The population rose from 80,000 in 1817 to about 88,000 in 1824. During the eight following years a special cess was levied on ghee and other products and at a cost of £25,000 (Rs. 2,50,000) the city walls were repaired. About the same time a cantonment was established on a site to the north of the city, chosen in 1830 by Sir John Malcolm. These (1825–1832), though some of them years of agricultural depression and dull trade, brought a further increase of population to 90,000. In the next ten years the state of the city improved. The population rose (1816) to about 95,000. The Hutheesing Jain Temple, completed in 1848, and other buildings of that time (1844–1846) show that some of the city merchants were possessed of very great wealth. The public funds available after the walls were finished were made use of for municipal purposes. Streets were widened and thoroughfares watered. During the following years the improvement continued. Ahmedabad's gold, silk, and carved-wood work again (1855) became famous, and its merchants and brokers enjoyed a name for liberality, wealth and enlightenment. During the rebellion of 1857, the government quickly contained the mutineers of the Gujarat Irregular Horse and of the 2nd Grenadier Regiment.