The framework of the Presidency formed between 1803 and 1827. The districts of Ahmadabad, Bharuch, and Kaira in Gujarat were taken over by the Bombay Government in 1805 and enlarged in 1818. The numerous small states of Kathiawar and Mahikantha were organised into princely states under British suzerainty between 1807 and 1820. Baji Rao II, the last of the Maratha Peshwas, was defeated by the British in the Battle of Kirkee, which took place near Poona in the Deccan on 5 November 1817. Following his defeat, the whole of the Deccan (except Satara and Kolhapur), and certain parts of Gujarat, were included in the Presidency. The districts included were Khandesh, Belgaum, Dharwar, Ratnagiri, Kolaba (except Alibag taluka), Poona, Ahmadnagar, Nasik. Aden was incorporated in 1839. Alibag taluka was annexed in 1840 and added to the Presidency. Sind province, which included the districts of Karachi, Hyderabad, Shikarpur, Thar and Parkar, and Upper Sind Frontier, were annexed in 1847. In 1848, the districts of Satara and Bijapur were added to the Presidency. In 1853, Panch Mahals in Gujarat was leased from the Scindias. The Canara district, which was under Madras Presidency, was bifurcated into North Canara and South Canara in 1860. South Canara remained under Madras Presidency, while North Canara was transferred to Bombay Presidency in 1861. Between 1818 and 1858, certain princely states lke Mandvi in Surat and some in Satara were lapsed to the Presidency.