Robert Stuart pioneered the Oregon Trail across Wyoming in 1812–1813 and, in 1834, Fort Laramie, the first permanent trading post in Wyoming, was built. Western Wyoming was obtained by the U.S. in the 1846 Oregon Treaty with Great Britain and as a result of the treaty ending the Mexican War in 1848.
It is bordered on the north by Montana, on the east by South Dakota and Nebraska, on the south by Colorado, and on the west by Utah and Idaho. Devil's Tower
Dry farming, producing hay, wheat, and barley, is supplemented by the more diversified yield (especially sugar beets and dry beans) of irrigated fields. Most of the inhabitants of the state derive their livelihood directly or indirectly from farming or ranching. The most valuable farm commodities, in terms of cash receipts, are cattle, hay, sugar beets, and wheat. Sparse grasses over much of the region necessitate a large grazing area for each animal, and the average ranch in Wyoming is larger than in any state except Arizona
Second in mean elevation to Colorado, Wyoming has many attractions for the tourist trade, notably Yellowstone National Park. Hikers, campers and skiers are attracted to Grand Teton National Park and Jackson Hole National Monument in the Teton Range of the Rockies.