 They suspected that Hyder Ali had evil intentions with regard to the young princes and the royal family, and that he would treat them the same way as he was treating the Wodeyar royal family of neighbouring Mysore, which also had been taken over in the same way by Hyder Ali, as guardian of an underage prince.Rebellion therefore began to brew against Hyder Ali among the Kodava nobility, and the opportunity came two years later, in 1782.At that time, Hyder Ali was busy fighting against the British, and the Kodava nobility managed to throw the garrison out of Kodagu and proclaim their independence.