Cedar Rapids is the second largest city in the U.S. state of Iowa and is the county seat of Linn County. The city lies on both banks of the Cedar River, 20 miles (32 km) north of Iowa City and 100 miles (160 km) east of Des Moines, the state's capital and largest city.