The Wadiyar dynasty (also spelt Wadiyar by the British) was an Indian royal dynasty that ruled the Kingdom of Mysore from 1399 to 1947, until the independence of India from British rule and the subsequent unification of Indian dominion and princely states into the Republic of India.