The peace with the Marathas was short-lived. The Peshwa Madhavrao I died late in 1772, beginning a struggle for his succession. In 1773, Hyder used this opportunity to send Tipu with an army to recover territories lost to the Marathas to the north, while he descended into Coorg, which provided a more secure route to the Malabar territories he wanted to recover from the Marathas. A claimant to the Coorg throne had asked for Hyder's assistance in 1770 when he was pre-occupied with the Marathas. He quickly captured Coorg's capital, Merkara, imprisoning Raja Vira Rajendra. He installed a Brahmin as Governor to collect revenues before continuing to Malabar, where by the end of 1774 he had recovered all his lost territory. The Coorgs rose in rebellion against his Governor, upon which Hyder returned to Coorg, crushed the rebellion, and hanged most of the ring-leaders. This did not stop the restive Coorgs from becoming a continuing problem for Hyder, and for, Tipu after his death.