Cedar Rapids is the second-largest city in Iowa and is the county seat of Linn County. The city lies on both banks of the Cedar River, 20 miles north of Iowa City and 100 miles northeast of Des Moines, the state's capital and largest city.