In 1766, Hyder Ali of Mysore captured Calicut and then Guruvayur. To refrain from the demolition of the Hindu temple at Guruvayur, Mysore demanded 10,000 fanams from the authorities, which was paid. At the request of Governor of Malabar, Shrinivasa Rao, Hyder Ali granted a devadaya  and the temple at Guruvayur was saved from destruction. Tippu Sultan again invaded the Zamorin of Calicut's province in 1789. Aware of the risk to the idol, it was hidden underground and the Utsava vigraha was taken to Ambalappuzha Sri Krishna Temple by Mallisseri Namboodiri and Kakkad Othikkan. Tippu destroyed the smaller shrines and set fire to the temple, but it was saved due to timely rain. Tippu lost to the Zamorin, Travancore and the English in 1792. Although the hidden idol and the Utsava vigraha were re-installed on 17 September 1792, the daily poojas and routines were seriously disrupted.. What happend when Hyder Ali granted a devadaya in 1776?