is the largest city in Missouri by population and area. According to the U.S. Census Bureau, the city had an estimated population of 495,327 in 2019, making it the 38th most-populous city in the United States. It is the most populated municipality and historic core city of the Kansas City metropolitan area, which straddles the Kansas–Missouri state line and has a combined statistical area (CSA) population of 2,487,053. Most of the city lies within Jackson County, but portions spill into Clay, Cass, and Platte counties. Kansas City was founded in the 1830s as a Missouri River port at its confluence with the Kansas River coming in from the west. On June 1, 1850, the town of Kansas was incorporated; shortly after came the establishment of the Kansas Territory. Confusion between the two ensued, and the name Kansas City was assigned to distinguish them soon after.