 On the death of Raghoji II in 1816, his son Parsoji was supplanted and murdered by Mudhoji II Bhonsale, also known as Appa Sahib, son of Vyankoji, brother of RaghojiII, in 1817.A treaty of alliance providing for the maintenance of a subsidiary force by the British was signed in this year, a British resident having been appointed to the Nagpur court since 1799.In 1817, on the outbreak of war between the British and the Peshwa, Appa Sahib threw off his cloak of friendship, and accepted an embassy and a title from the Peshwa.