The Marathas ceded parts of Bundelkhand, which were later called later British Bundelkhand, to the British in the 1802 Treaty of Bassein. After 1802, many of the local rulers were granted sanads (leases) by the British, which entitled them to the lands they controlled at the death of Ali Bahadur, in return for the rulers signing a written bond of allegiance (ikrarnama) to the British. A political officer attached to the British forces in Bundelkhand supervised British relations with the sanad states. In 1806 British protection was promised to the Maratha ruler of Jhansi, and in 1817 the British recognised his hereditary rights to Jhansi state. In 1818 the Peshwa in Pune ceded all his rights over Bundelkhand to the British at the conclusion of the Third Anglo-Maratha War.