sentences:  Both his sons survived the king and his daughters' married Nayakkar relatives of the king.Mampitiya's sons claim for the throne was overlooked and the choice fell on the king's brother who was living in court.The king died on 2 January 1782, of the injuries caused two months before by a fall from his horse after a reign of 35 years which the people saw as a great religious revival, and had a sentimental attachment to the King.