Sweden (// ( listen) SWEE-dən; Swedish: Sverige ( listen)), officially the Kingdom of Sweden (Swedish: Konungariket Sverige (help·info)), is a Scandinavian country in Northern Europe. It borders Norway to the west and north and Finland to the east, and is connected to Denmark in the southwest by a bridge-tunnel across the Öresund. At 450,295 square kilometres (173,860 sq mi), Sweden is the third-largest country in the European Union by area. Sweden has a total population of 10.1 million of which 2.3 million has a foreign background. It has a low population density of 22 inhabitants per square kilometre (57/sq mi); the highest concentration is in the southern half of the country. Approximately 85% of the population lives in urban areas.
Germanic peoples have inhabited Sweden since prehistoric times, emerging into history as the Geats (Swedish Götar) and Swedes (Svear) and constituting the sea peoples known as the Norsemen. Southern Sweden is predominantly agricultural, while the north is heavily forested. Sweden is part of the geographical area of Fennoscandia. The climate is in general very mild for its northerly latitude due to significant maritime influence, that in spite of this still retains warm continental summers. Today, Sweden is a constitutional monarchy and parliamentary democracy, with a monarch as head of state, like its neighbour Norway. The capital city is Stockholm, which is also the most populous city in the country. Legislative power is vested in the 349-member unicameral Riksdag. Executive power is exercised by the government chaired by the prime minister. Sweden is a unitary state, currently divided into 21 counties and 290 municipalities.
An independent Swedish state emerged during the early 12th century. After the Black Death in the middle of the 14th century killed about a third of the Scandinavian population, the Hanseatic League threatened Scandinavia's culture, finances and languages. This led to the forming of the Scandinavian Kalmar Union in 1397, which Sweden left in 1523. With the Swedish involvement in the Thirty Years War, on the Reformist side, began an expansion of its territories and eventually the Swedish Empire was formed. This became one of the great powers of Europe until the early 18th century. Swedish territories outside the Scandinavian Peninsula were gradually lost during the 18th and 19th centuries, ending with the annexation of present-day Finland by Russia in 1809. The last war in which Sweden was directly involved was in 1814, when Norway was militarily forced into personal union. Since then, Sweden has been at peace, maintaining an official policy of neutrality in foreign affairs. The union with Norway was peacefully dissolved in 1905. Though Sweden was formally neutral through both world wars, Sweden engaged in humanitarian efforts, such as taking in refugees from German-occupied Europe.
After the end of the Cold War, Sweden joined the European Union on 1 January 1995, but declined NATO membership, as well as Eurozone membership following a referendum. It is also a member of the United Nations, the Nordic Council, the Council of Europe, the World Trade Organization and the Organisation for Economic Co-operation and Development (OECD). Sweden maintains a Nordic social welfare system that provides universal health care and tertiary education for its citizens. It has the world's eleventh-highest per capita income and ranks highly in numerous metrics of national performance, including quality of life, health, education, protection of civil liberties, economic competitiveness, equality, prosperity and human development.