The answer is: The Organic Laws of Oregon.
They were two sets of legislation made by a group of American settlers based in the Willamette Valley.
The laws created a structure for the white government in the Oregon Country. Later, in May 1843, a vote was made and, by majority, was decided to create what eventually was called the Provisional Government of Oregon.