The Aroostook River rises in Piscataquis County and flows through Aroostook County. It later joins the St John River in New Brunswick, Canada. Its length is about 120 miles. The river gives its name to an agricultural region that is particularly noted for its potatoes. In 1837, the Aroostook War resulted in a boundary dispute between Maine and New Brunswick. Winfield Scott arranged a truce until the matter was permanently settled by the Webster-Ashburton Treaty.