The Caroline incident (1837) involved the burning of a U.S. steamship by British forces in U.S. waters during the Canadian rebellion—it was unrelated to the Maine boundary. The Aroostook War (1838–39) was the actual border confrontation between Maine and New Brunswick. It was resolved diplomatically by the Webster–Ashburton Treaty (1842), which established the current boundary.