Ranjit Singh's death in the summer of 1839 brought political chaos, and the subsequent battles of succession and the bloody infighting between the factions at court weakened the state. By 1845 the British had moved 32,000 troops to the Sutlej frontier to secure their northernmost possessions against the succession struggles in the Punjab. In late 1845, British and Sikh troops engaged near Firozpur, beginning the First Anglo-Sikh War.