Barcelona is the capital of Catalonia and the second largest city in Spain, after Madrid, with a population of 1,620,943 within its administrative limits on a land area of 101.4 km2 (39 sq mi). The urban area of Barcelona extends beyond the administrative city limits with a population of around 4.5 million within an area of 803 km2 (310 sq mi),[2][3] being the sixth-most populous urban area in the European Union after Paris, London, the Ruhr, Madrid and Milan. About five million people live in the Barcelona metropolitan area. It is also the largest metropolis on the Mediterranean Sea. It is located on the Mediterranean coast between the mouths of the rivers Llobregat and Besòs and is bounded to the west by the Serra de Collserola ridge (512 metres (1,680 ft)).[source]