Following the Indian Revolt of 1857, the British Crown took direct control of India from the English East India Company through the Government of India Act 1858. This Act abolished the post of Governor-General of India and created the new office of Viceroy of India. Lord Canning, who was the last Governor-General, became the first Viceroy.