The treaty was signed after the Sikhs rebelled over the Kashmir issue.