There were frequent changes in the control of the fort between the Scindias and the British between 1808 and 1844. In January 1844, after the battle of Maharajpur, the fort was occupied by the Gwalior State of the Maratha Scindia family, as a protectorate of the British government. During the 1857 uprising, around 6500 sepoys stationed at Gwalior rebelled against the Company rule, although the company's vassal ruler Jayajirao Scindia remained loyal to the British. The British took control of the fort in June 1858. They rewarded Jayajirao with some territory but retained control of the Gwalior Fort. By 1886, the British were in complete control of India, and the fort no longer had any strategic importance to them. Therefore, they handed over the fort to the Scindia family. The Maratha Scindias continued to rule Gwalior until the independence of India in 1947, and built several monuments including the Jai Vilas Mahal.