Iowa City served as the capital of Iowa from 1842 until 1857 when Des Moines became the state capital. Today, the Old State Capitol Building is the centerpiece of the University of Iowa campus. It functions as an archive for university and state historical documents.