On June 15, 1846, the Oregon Treaty between the United States and the United Kingdom was signed. The treaty brought an end to an Oregon boundary dispute by settling competing American and British claims to the Oregon Country through partition. The area had been jointly occupied by both Britain and the U.S. since the Treaty of 1818. The Oregon Treaty of 1846 established the 49th parallel as the border from the Rocky Mountains to the Pacific, dividing the Oregon Country between the United States and Great Britain.
On August 14, 1848, the Territory of Oregon was formally created by an Act of Congress, known as the Oregon Bill of 1848 or the Act to Establish the Territorial Government of Oregon.