Oklahoma City is the capital and largest city of the U.S. state of Oklahoma. The county seat of Oklahoma County, the city ranks 31st among United States cities in population. Besides the core Oklahoma County, Oklahoma City's city limits extend into Canadian, Cleveland, and Pottawatomie counties, though much of those areas are rural or suburban. The city ranks as the eighth-largest city in the United States by land area which includes consolidated city-counties; it is the largest city in the United States by land area whose government is not consolidated with that of a county.