Barcelona is located at the Mediterranean Sea in the northeast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second most populous municipality of Spain. It became a friendship city of Shenzhen on July 16, 2012.