The kingdom of Mysore was a kingdom in southern India. It was founded by the Wadiyar dynasty in 1399. They ruled from 1399 to 1947. The last ruler was Tipu Sultan. At first they ruled as vassals of the Vijayanagara Empire from 1399 to 1565. From 1565 to 1761 they were independent rulers. From 1761 to 1796 they ruled in name only. The actual power was with Hyder Ali and his son Tipu Sultan. When Tipu Sultan died at the hands of the British, they ruled from 1799 to 1947 as British allies.