Protection for emigrants along the Oregon Trail was the motivation for the U.S. government to establish Fort Laramie near the eastern edge of the Wyoming Territory in 1849. The fort was jump-started with the purchase of buildings from the American Fur Company, which had maintained a trading post along the banks of the Laramie River.
According to the National Park Service: