Maharaja Ranjit Singh brought the whole area west of River Sutlej under his control and established the Sikh kingdom in Punjab. He signed the Treaty of Amritsar (1809) with the British which confirmed his conquests and established his sovereignty over the terrioty west of Satluj. It was only after his ***** in 1839 that the British gained control over the Punjab.