Is Kansas City named after Kansas?

Both Kansas and Kansas City are named for Kansas River, which is in turn named for the local Kanza Indian tribe. The city was established before Kansas itself was even made a territory.