Organizing the largely unsettled Nebraska Territory, which stretched from Missouri to the Rocky Mountains, and from Texas north to what is now the Canada–U.S. border, was a crucial part of Douglas's plans for western expansion. He wanted a transcontinental railroad with a link from Chicago to California, through the vast western territory. Organizing the territory was necessary for settlement as the land would not be surveyed nor put up for sale until a territorial government was authorized. Those from slave states had never been content with western limits on slavery, and felt it should be able to expand into territories procured with blood and treasure that had come, in part, from the South. Douglas and his allies planned to organize the territory and let local settlers decide whether to allow slavery. This would repeal the Missouri Compromise of 1820, as most of it was north of the 36°30′ N line the Missouri Compromise deemed "free". The territory would be split into a northern part, Nebraska, and a southern part, Kansas, and the expectation was that Kansas would allow slavery and Nebraska would not.