Incorporated in 1901, Cody, Wyoming is located 52 miles from Yellowstone National Park's East Entrance. Cody was founded by Colonel William F. "Buffalo Bill" Cody, who passed through the region in the 1870s. He was so impressed by the many development possibilities that he returned in the mid-1890s to start a town.