The Castine expedition set sail from Halifax under Sir John Coape Sherbrooke (1764–1830), commander of the British forces in the Atlantic area. War with the United States had begun in June 1812, and a long-disputed borderland issue had broken out in the Passamaquoddy Bay area and the Penobscot River where the expedition was headed. They made landfall at Castine. During a successful eight-month occupation, the expedition yielded substantial customs revenues, which financed Dalhousie College and the Garrison Library (later named the Cambridge Military Library). In 1816, Coape was appointed governor general of British North America.