Later, Hosur was part of Kingdom of Mysore. From 1790-1792 Tipu Sultan lost the third Anglo-Mysore war to the British. In 1801 he handed over the southern part of the Mysore kingdom as a partial settlement to the English government.