sentences:  Some accounts say that Shamaiya was killed in 1784 but the Inam Records show that he received a sanad (permission/grant) from Tipu to run the sante (weekly market) at Sulikunte in 1793 and that he fathered a son in 1821.Gidwanis book suggests Tipu forgave Shamaiya when Shamaiya's son defended against the English during the last Anglo-Mysore War, dying due to a gunshot to the chest.Shamaiya's elder brother Ranga Iyengar was also a highly placed officer under Tipu.