On January 29, 1861, the territory of Kansas was admitted into the Union as the 34th state. Though Kansas was still deeply divided over slavery, it came into the Union as a free state. The battle over slavery there had begun in earnest in 1854 when President Franklin Pierce signed the Kansas-Nebraska Act specifying that Kansas and Nebraska could determine the issue by popular vote. This argument was not fully resolved until after the Civil War.