<human>:  Where was the Dakota Territory?
<bot>: The Dakota Territory was a territory of the United States that was formed in 1861. It was carved out of the Nebraska Territory and included the present-day states of North Dakota and South Dakota.