How the 1857 sepoy rebellion challenged East India Company rule