After Ranjit Singh's death in 1839, the empire was severely weakened by internal divisions and political mismanagement. This opportunity was used by the British Empire to launch the Anglo-Sikh Wars. A series of betrayals of the Sikhs by some prominent leaders in the army led to its downfall. Maharaja Gulab Singh and Raja Dhian Singh were the top generals of the army.