In 1780, Tipu's father attacked Carnatic and routed a British army. He was defeated and died in _______.
1781
1783
1780
1782