Gazette reports of correspondence between his court and temples, and his having donated jewellery and deeded land grants to several temples, which he was compelled to for forming alliances with Hindu rulers. Between 1782 and 1799 Tipu Sultan issued 34 "Sanads" (deeds) of endowment to temples in his domain, while also presenting many of them with gifts of silver and gold plate. The Srikanteswara Temple in Nanjangud still possesses a jeweled cup presented by the Sultan. He also gave a greenish linga; to Ranganatha temple at Srirangapatna, he donated seven silver cups and a silver camphor burner. This temple was hardly a stone's throw from his palace from where he would listen with equal respect to the ringing of temple bells and the muezzin's call from the mosque; to the Lakshmikanta Temple at Kalale he gifted four cups, a plate and Spitoon in silver. During the Maratha–Mysore War in 1791, a group of Maratha horsemen under Raghunath Rao Patwardhan raided the temple and matha of Sringeri Shankaracharya. They wounded and killed many people, including Brahmins, plundered the monastery of all its valuable possessions, and desecrated the temple by displacing the image of goddess Sarada. The incumbent Shankaracharya petitioned Tipu Sultan for help. About 30 letters written in Kannada, which were exchanged between Tipu Sultan's court and the Sringeri Shankaracharya, were discovered in 1916 by the Director of Archaeology in Mysore. Tipu Sultan expressed his indignation and grief at the news of the raid: "People who have sinned against such a holy place are sure to suffer the consequences of their misdeeds at no distant date in this Kali age in accordance with the verse: "Hasadbhih kriyate karma rudadbhir-anubhuyate" (People do [evil] deeds smilingly but suffer the consequences crying)." He immediately ordered the Asaf of Bednur to supply the Swami with 200 rahatis (fanams) in cash and other gifts and articles. Tipu Sultan's interest in the Sringeri temple continued for many years, and he was still writing to the Swami in the 1790s. In light of this and other events, historian B. A. Saletare has described Tipu Sultan as a defender of the Hindu dharma, who also patronised other temples including one at Melkote, for which he issued a Kannada decree that the Shrivaishnava invocatory verses there should be recited in the traditional form. The temple at Melkote still has gold and silver vessels with inscriptions indicating that they were presented