The Treaty of Amritsar was signed in the year 1809 . It was signed between the British East India Company and Maharaja Ranjit Singh of Punjab. As per the Treaty, the river Sutlej was fixed as the boundary between the British East India Company and Maharaja Ranjit Singh. Ranjit Singh (1780-1839) was a Sikh warrior. He had established a capital at Lahore in 1799 when he defeated Zaman Shah, an Afghan leader.