Answer:
Kansas became a territory in 1854 under the Kansas-Nebraska Act, which opened up the area to settlement and allowed settlers to determine whether or not to allow slavery within the territory. Initially, the territorial capital was located in Shawnee Mission, near present-day Kansas City.
However, in 1855, pro-slavery forces established a competing government in the town of Lecompton, and the territorial capital was temporarily moved there. This led to a period of violent conflict between pro-slavery and anti-slavery forces, known as "Bleeding Kansas," as the two factions struggled for control of the territory.
Ultimately, the pro-slavery government in Lecompton was dissolved, and the territorial capital was permanently moved back to Shawnee Mission. In 1861, Kansas was admitted to the Union as a free state, and the capital was established in Topeka. So while there were two competing capital cities at one point, Topeka emerged as the clear winner and has remained the capital of Kansas ever since.
Step-by-step explanation: