Mexico City is the capital and largest city of Mexico. It is located in the Valley of Mexico, a large valley in the center of Mexico surrounded by mountains. Mexico City has a population of over 21 million people, making it one of the largest cities in the world. It has a long history as the center of the Aztec empire and then as the capital of New Spain under Spanish colonial rule. Today it remains the center of Mexican political and economic life.