In 1809, Singh signed the Treaty of Amritsar with the British; in this treaty, Singh was recognised as the sole ruler of Punjab by the British and was given freedom to fight against the Muslims of surrounding areas.