During 1857–58, an uprising by sepoys against the East India Company was suppressed, an event that led to the end of Company rule in India and the transferral of administration to direct rule by the British government. The princely states were not affected and remained under British guidance. English was imposed as the medium of education.