Original: Gulab Singh died in 1857; and when his successor, Ranbir Singh, had recovered from the strain caused by the Indian Rebellion, in which he had loyally sided with the British, he was determined to recover Gilgit and to expand to the frontier.
Simplified: Gulab Singh died in 1857, his successor, Ranbir Singh, sided with the British during the Indian Rebellion.