Finally, a solution!
The Oregon Territory, including modern-day Washington, Oregon, Idaho, and parts of Montana and Wyoming, was a territory claimed by both the United States and Great Britain prior to 1848. It was initially designated as an area of "joint occupation" after the 1818 Anglo-American Convention. Joint control of the area caused numerous territorial conflicts, threatened each nation's commercial interests, and nearly caused a war. The 1846 Treaty of Oregon, between the two nations, put a permanent end to the settlement question. Negotiated by future president James Buchanan, the treaty set the boundary between American lands and British lands at the 49th parallel, extending west to the Pacific Ocean. As an exception to the treaty, Great Britain retained Victoria Island.
Oregon Territory Articles and Activities