Madrid is the capital of Spain, as well as the capital of the autonomous community of the same name (Comunidad de Madrid). It is Spains largest city, with a population (city) of 3.228 million (July 2005) and 5.843 million (metropolitan area). Madrid is best known for its great cultural and artistic heritage, a good example of which is the El Prado museum. Madrid also boasts some of the liveliest nightlife in the world.