Distrito Federal (now officially Ciudad de México, CDMX) is the capital city of Mexico and is not a state. It is a federal entity with its own government, distinct from the 31 states.