The Kingdom of Mysore was a realm in southern India, traditionally believed to have been founded in 1399 in the vicinity of the modern city of Mysore. From 1799 until 1950, it was a princely state, until 1947 in a subsidiary alliance with British India. The British took Direct Control over the Princely State in 1831.