The Battle of Plassey would see the emergence of the British as a political power; their rule later expanded to cover much of India over the next hundred years, conquering all of the Hindu states on the Indian subcontinent, with the exception of the Kingdom of Nepal. While the Maratha Empire remained the preeminent power in India, making it the last remaining Hindu empire, until their defeat in the Second Anglo-Maratha War which left the East India Company in control of most of India; as noted by acting Governor-General Charles Metcalfe, after surveying and analyzing the conditions in India, in 1806 wrote: "India contains no more than two great powers, British and Mahratta." During this period, Northeastern India was divided into many kingdoms, most notable being the Kingdom of Manipur, which ruled from their seat of power at Kangla Fort and developed a sophisticated Hindu Gaudiya Vaishnavite culture, later the kingdom became a princely state of the British. The Kingdom of Mysore was defeated in the Fourth Anglo-Mysore War by the British East India Company, leading to the reinstatement of the Hindu Wadiyar dynasty in Mysore as a princely states. In 1817, the British went to war with the Pindaris, raiders who were based in Maratha territory, which quickly became the Third Anglo-Maratha War, and the British government offered its protection to the mainly Hindu Rajput rulers of Rajputana from the Pindaris and the Marathas. The mainly Hindu Palaiyakkarar states emerged from the fall of the Vijayanagara Empire, and were a bastion of Hindu resistance; and managed to weather invasions and survive till the advent of the British. From 1799 to 1849, the Sikh Empire, ruled by members of the Sikh religion, emerged as the last major indigenous power in the Northwest of the Indian subcontinent under the leadership of Maharaja Ranjit Singh. After the death of Ranjit Singh, the empire weakened, alienating Hindu vassals and Wazirs, and leading to the conflict with the British East India Company, marked the downfall of the Sikh Empire, making it the last area of the Indian subcontinent to be conquered by the British. The entire subcontinent fell under British rule (partly indirectly, via princely states) following the Indian Rebellion of 1857.