Why is there a Kansas citie in Kansas and in Missouri?

Kansas City is in Kansas and Missouri because Kansas City is a rather large city; it is in Kansas but it crosses over the border and the larger part sits in Missouri, so it is considered a city in both Kansas and Missouri.