Incorporated in 1901, Cody, WY is located 52 miles from Yellowstone National Park. Cody serves as the county seat for Park County and has a population of nearly 10,000. The City of Cody serves the needs of its community members as well as annual visitors.