Iowa City was created (on paper) by an act of the Governor,
Robert Lucas, who wanted a capital for the
Iowa Territory closer to the center of the territory. After the Legislature passed the act creating the new capital, surveyors looked for a good place to build the city and found the present-day site of Iowa City.
Iowa City was then capital of the state for about 20 years before the capital was moved to Des Moines--again to be closer to the center of the state.
Old Capitol, Iowa City