Jammu and Kashmir (princely state)

Kashmir and Jammu was a princely state in the Himalayas next to the territories of British India in the north. It was ruled by a Hindu Maharaja.
The state was created in 1846 after the defeat of the Sikhs. The East India Company annexed the Kashmir valley and wanted to recover some of the cost of the Anglo-Sikh war. The Muslim majority Kashmir was sold to the Dogra ruler of Jammu under the Treaty of Amritsar. The area of the state were set by the Treaty of Amritsar of 1846 "situated to the eastward of the Indus and westward of the Ravi River it covered an area of 80,900 km2.
After the British left India the princely state was divided between Pakistan and India as war took place between the neighbours.
Creation.
Before the creation of the princely state, Kashmir had been ruled by the Durrani Empire it was then taken over by the Sikhs under Ranjit Singh. During Sikh rule Jammu had been a tributary of the Sikh Empire in the Punjab region, but after the death of its Raja, Kishore Singh, Dogra, in 1822 his son Gulab Singh was recognised by the Sikhs as being his heir. He then began expanding his kingdom.
As Ruler Jammu Gulab Singh took over Bhadarwah then Kishtwar. Taking over Kishtwar meant that Singh had now gained control of two of the roads which led into Ladakh which allowed him to take control of that territory. Although there were huge difficulties, due to the mountains and glaciers, the Dogras under Gulab Singh's officer, Zorawar Singh managed to conquered the whole of Ladakh.
A few years later, in 1840, General Zorawar Singh invaded Baltistan and captured the Raja of Skardu who had sided with the Ladakhis, and took over his country. The following year (1841) Zorawar Singh tried to invade Tibet, however due to the winter weather and by being attacked by the Tibetians. He along with almost all of his army died.
In the winter of 1845 war broke out between the British and the Sikhs. Gulab Singh remained neutral until the battle of Sobraon in 1846, when he became a trusted adviser of Sir Henry Lawrence. This allowed him to gain land for himself - all the hilly or mountainous land to the east of the Indus and west of the Ravi River.
Kashmir itself was not easy for the Maharaja to take over. The Maharaja's army had to fight Imam-ud-din - the Sikh governor. Imam-ud-din was aided by the Bambas from the Jhelum valley. They managed to defeat Gulab Singh's troops near to Srinagar, killing Wazir Lakhpat. However Imam-ud-din was later persuaded by Sir Henry Lawrence to stop fighting and Kashmir passed without further fighting to the new ruler.
Expansion.
Not long afterwards the Hunza Raja, attacked Gilgit territory. Nathu Shah on behalf of Gulab Singh responded by leading a force to attack the Hunza valley; he and his force were destroyed, and Gilgit fort fell into the hands of the Hunza Raja, along with Punial, Yasin, and Darel. The Maharaja then sent two armies, one from Astor and one from Baltistan, and after some fighting Gilgit fort was taken back. In 1852 the Dogra troops were defeated by Gaur Rahman of Yasin, and for eight years the Indus formed the boundary of the Maharaja's territories.
Gulab Singh died in 1857, his successor, Ranbir Singh, sided with the British during the Indian Rebellion. After the rebellion had been defeated by the British Ranbir decided to take back Gilgit. In 1860 a force under Devi Singh crossed the Indus, and moved towards Gaur Rahman's strong fort at Gilgit. Gaur Rahman had died just before the arrival of the Dogras. The fort was taken and held by the Maharajas until 1947.
Although Ranbir Singh was tolerant of other religions his control over the country was weak, between 1877 and 1879 a dreadful famine took place in Kashmir.
Geography.
Jammu was the southernmost part of the state and was next to the Punjab districts of Jhelum, Gujrat, Sialkot, and Gurdaspur.
Transport.
There used to be a route from Kohala to Leh, it was possible to travel from Rawalpindi via Kohala and over the Kohala Bridge into Kashmir. The route from Kohala to Srinagar was a cart-road 132 miles in length, from Kohala to Baramulla the road was close to the Jhelum River. At Muzaffarabad the Kishenganga River joins the Jhelum and at this point the road from Abbottabad and Garhi Habibullah meet the Kashmir route. The road carried heavy traffic and had to be repaired main times by the authorities.
Flooding.
In 1893 very serious floods took place in the Jhelum because of rain that fell for 52 hours, and much damage was done to Srinagar. However the floods of 1903 was much more severe.
End of the princely state.
In 1947 the Indian Independence Act was passed, this meant that British India would become two independent states - Pakistan and India. Also each of the princely states would be free to join India or Pakistan - or remain independent. All of princely ended up becoming part of Pakistan or India.
However the ruler of Kashmir wanted to remain independent, neither joining Pakistan or India, this led to war between the two neighbouring countries in which Kashmir became divided between them. Each considered that "all" of the former princely state belongs to them. This has led to several wars. The Kashmir conflict between the two nuclear neighbours remains one of the hardest and longest running disputes that the United Nations Security Council has been trying to solve.