What treaty was signed 26 January 1699