Original: Hyder Ali died on 12 July 1782 and his son Tippu Sultan became the Mysore King.
Simplified: Hyder Ali died on 12th July 1782 and his son Tippu Sultan became the Mysore King.