Gorkhas began their twelve-year rule over Garhwal region. The Gorkhas ruled Garhwal with an iron fist. Their excessive taxation policy, iniquitous judicial system, slavery, torture and lack of civilised administrative set up made the Gorkha rulers extremely unpopular amongst their subjects. Cultivation declined rapidly and villages were deserted. During the Gorkha rule, a revenue settlement for Garhwal was undertaken in 1811. The rates were so high that the land-owners found it difficult to honour, and the Gorkhas sold hundreds of their family members into slavery in satisfaction of the arrears. If a person or his family members were not purchased as slaves in auction, such people were sent to Bhimgoda near Har Ki Pauri, Haridwar for selling. The Gorkhas are said to have established a slave market at Das Bazar in Haridwar. Harak Dev Joshi, a prominent minister from the Kumaon court wrote letters to Fraser, the resident at Delhi describing the atrocities committed by the Gorkhas on the Garhwali people. British writer and explorer Captain F.V. Raper (of the 10th Bengal) has written an eye-witness account of it in the Asiatic Researches (vol. xi.): Scottish travel writer and artist, J. B. Fraser wrote: The Mukhtiyar (prime minister) of Nepal, Bhimsen Thapa imposed a general restriction on human trafficking in Garhwal, Sirmur and other areas in 1812 A.D. Anti-bribery regulations were issued against regional governors and declared it illegal to give or take any form of bribes or gifts from people. He established Hulak (postal) system through a relay of porters up to Yamuna river in Garhwal. Regulations issued in July 1809 states: The royal court sent the following orders regarding abolition of slave trading: Defeat of the Gorkhas and split of Garhwal Kingdom The occupation of the kingdom by the Gorkhas went unopposed from 1803 to 1814 until a series of encroachments by the Gorkhas on British territory led to the Anglo-Nepalese War in 1814. Sudarshan Shah, son and heir of the defeated ruler of the Kingdom of Garhwal who was in exile in British territory, saw his chance and entered into an alliance with the British in 1812. When the expected war erupted, he joined forces with them in the conquest of the hill territories. At the war's end on 21 April 1815, as a result of the Treaty of Sugauli, the British annexed half of the Kingdom of Garhwal (Pauri Garhwal) and converted the other half (Tehri