The Indian Rebellion of 1857 began as a mutiny of sepoys of the British East India Company's army on 10 May, 1857, in the town of Meerut, and soon erupted into other mutinies and civilian rebellions largely in the upper Gangetic plain and central India, with the major hostilities confined to present-day Uttar Pradesh, Bihar, northern Madhya Pradesh, and the Delhi region. The rebellion posed a considerable threat to Company power in that region, and it was contained only with the fall of Gwalior on 20 June 1858. The rebellion is also known as India's First War of Independence, the Great Rebellion, the Indian Mutiny, the Revolt of 1857, the Uprising of 1857 and the Sepoy Mutiny.
The rebellion saw the end of the British East India Company's rule in India. In August, by the Government of India Act 1858, the company was formally dissolved and its ruling powers over India were transferred to the British Crown. A new British government department, the India Office, was created to handle the governance of India, and its head, the Secretary of State for India, was entrusted with formulating Indian policy. The Governor-General of India gained a new title (Viceroy of India), and implemented the policies devised by the India Office. The British colonial administration embarked on a program of reform, trying to integrate Indian higher castes and rulers into the government and abolishing attempts at Westernization. The Viceroy stopped land grabs, decreed religious tolerance and admitted Indians into civil service, albeit mainly as subordinates.