The First Anglo-Sikh War was fought between the Sikh Empire and the British East India Company in 1845 and 1846 in and around the Ferozepur district of Punjab. It resulted in defeat and partial subjugation of the Sikh empire and cession of Jammu and Kashmir as a separate princely state under British suzerainty. Background and causes of the war The Sikh kingdom of Punjab was expanded and consolidated by Maharajah Ranjit Singh during the early years of the nineteenth century, about the same time as the British-controlled territories were advanced by conquest or annexation to the borders of the Punjab. Ranjit Singh maintained a policy of wary friendship with the British, ceding some territory south of the Sutlej River, while at the same time building up his military forces both to deter aggression by the British and to wage war against the Afghans. He hired American and European mercenary soldiers to train his army, and also incorporated contingents of Hindus and Muslims into his army. Events in the Punjab Maharaja Ranjit Singh died in 1839. After his death, his kingdom began to fall into disorder. Ranjit's unpopular legitimate son, Kharak Singh, was removed from power within a few months, and later died in prison under mysterious circumstances. It was widely believed that he was poisoned. He was replaced by his able but estranged son Kanwar Nau Nihal Singh, who also died within a few months in suspicious circumstances, after being injured by a falling archway at the Lahore Fort while returning from his father's cremation. At the time, two major factions within the Punjab were contending for power and influence; the Sikh Sindhanwalias and the Hindu Dogras. Sher Singh was crowned Maharaja of the Sikh Empire in January 1841, with Dhian Singh Dogra as his prime minister. The army expanded rapidly in the aftermath of Ranjit Singh's death, from 29,000 (with 192 guns) in 1839 to over 80,000 in 1845 as landlords and their retainers took up arms. It proclaimed itself to be the embodiment of the Sikh nation. Its regimental panchayats (committees) formed an alternative power source within the kingdom, declaring that Guru Gobind Singh's ideal of the Sikh commonwealth had been revived, with the Sikhs as a whole assuming all executive, military and civil authority in the state, which British observers decried as a "dangerous military democracy". British representatives and visitors in the Punjab described the regiments as