Frankfort is a 2nd-class city in Kentucky that serves as the capital of the Commonwealth and the seat of Franklin County. The population was 25,527 at the 2010 census; by population it is the fifth-smallest state capital in the United States. Located on the Kentucky River, Frankfort is the principal city of the Frankfort, Kentucky Micropolitan Statistical Area, which includes all of Franklin and Anderson counties.