Question: when did springfield become the capital of illinois
Answer: Vandalia was the second state capital of Illinois from 1819 to 1839 .