After the death of Sambhaji, Rajaram was crowned at Raigad on 12 March 1689. As the Mughals started laying siege to the region around Raigad on 25 March 1689, the widow of Sambhaji, Maharani Yesubai and her minister Ramchandra Pant Amatya sent young Rajaram to the stronghold of Pratapgad through Kavlya ghat. The Maratha army fought with the Mughals and led the new Maratha king, Rajaram to escape through Kavlya ghat to the fort of Jinji in present-day state of Tamil Nadu via Pratapgad and Vishalgad forts, Rajaram reached Keladi in disguise and sought refuge from Keladi Chennamma - The brave queen fought the Mughals and ensured safe passage and escape of Rajaram to Jinji, Keladi Chennamma fought the jungle warfare which frustrated the Mughals and the Mughals proposed peace accord for the first time with an Indian ruler, Keladi Chennamma ensured safe travel of Rajaram to jingi by fighting the mughals where he reached after a month and a half long journey on 1 November 1689. Details of this escape are known from the incomplete poetical biography of Rajaram, the Rajaramacharita written by his Rajpurohit, Keshav Pandit, in Sanskrit.