The land was acquired in the Kansas-Nebraska Act. The US purchased the land from Mexico.
Explanation:
First, the federal government had promised this territory to American Indians. Secondly, this territory was part of the Louisiana Purchase Territory. Under the Missouri Compromise of 1820, the land that would become the Kansas and Nebraska territories had to be "free states" where slavery wouldn't be permitted