Sentence:  As the time drew near for the drawing of the British American frontier by terms of the <WSD>agreement</WSD> of 1818 , the company suspected that the Pembina colony - its own post and Fort Daer - was on American territory . 
Meaning of the word marked with <WSD> tags:  the statement (oral or written) of an exchange of promises