Sentence:  The latter , members of two regiments of Swiss mercenaries transported by Great Britain to Canada to fight the Americans in the War of 1812 , had settled in Montreal and Kingston at the close of the <WSD>war</WSD> in 1815 . 
Meaning of the word marked with <WSD> tags:  a legal state created by a declaration of war and ended by official declaration during which the international rules of war apply