Question: who was president when iowa became a state
Answer: President James K. Polk