Illinois entered the Union as the 21st state, transforming from a sparsely populated frontier territory into a growing hub of the American Midwest.