The Kansas–Nebraska Act of 1854 (10 Stat. 277) created the territories of Kansas and Nebraska, opening new lands for settlement, and had the effect of repealing the Missouri Compromise of 1820 by allowing white male settlers in those territories to determine through popular sovereignty whether they would allow slavery within each territory. The act was designed by Democratic Senator Stephen A. Douglas of Illinois. The initial purpose of the Kansas–Nebraska Act was to open up many thousands of new farms and make feasible a Midwestern Transcontinental Railroad. The popular sovereignty clause of the law led pro- and anti-slavery elements to flood into Kansas with the goal of voting slavery up or down, leading to Bleeding Kansas.