Task: Question Answering
Input (English): Passage: The first iron-cased and metal-cylinder rocket artillery were developed by Tipu Sultan and his father Hyder Ali, in the 1780s. He successfully used these metal-cylinder rockets against the larger forces of the British East India Company during the Anglo-Mysore Wars. The Mysore rockets of this period were much more advanced than what the British had seen, chiefly because of the use of iron tubes for holding the propellant; this enabled higher thrust and longer range for the missile (up to 2 km (1 mi) range). After Tipu's eventual defeat in the Fourth Anglo-Mysore War and the capture of the Mysore iron rockets, they were influential in British rocket development, inspiring the Congreve rocket, which was soon put into use in the Napoleonic Wars.According to Stephen Oliver Fought and John F. Guilmartin, Jr. in Encyclopædia Britannica (2008): 
Hyder Ali, prince of Mysore, developed war rockets with an important change: the use of metal cylinders to contain the combustion powder. Although the hammered soft iron he used was crude, the bursting strength of the container of black powder was much higher than the earlier paper construction. Thus a greater internal pressure was possible, with a resultant greater thrust of the propulsive jet. The rocket body was lashed with leather thongs to a long bamboo stick. Range was perhaps up to three-quarters of a mile (more than a kilometre). Although individually these rockets were not accurate, dispersion error became less important when large numbers were fired rapidly in mass attacks. They were particularly effective against cavalry and were hurled into the air, after lighting, or skimmed along the hard dry ground. Tipu Sultan, continued to develop and expand the use of rocket weapons, reportedly increasing the number of rocket troops from 1,200 to a corps of 5,000. In battles at Seringapatam in 1792 and 1799 these rockets were used with considerable effect against the British.". 
Question: What is the last name of the person who was defeated in the Fourth Anglo-Mysore War?
Output (English): Sultan.