section_path: History
section_name: History
paragraph_text: History
  
  The location of Stockholm appears in Norse sagas as Agnafit, and in Heimskringla in connection with the legendary king Agne. Birka, located near Stockholm, was one of Sweden's major trade centres during the Viking Age, and its restored remains are one of Stockholm County 's most-visited sites.
  
  The earliest written mention of the name Stockholm dates from 1252, by which time the mines in Bergslagen made it an important site in the iron trade. The first part of the name (stock) means log in Swedish, although it may also be connected to an old German word (Stock) meaning fortification. The second part of the name (holm) means islet and is thought to refer to the islet Helgeandsholmen in central Stockholm. One theory for the name is that it refers to pile barrages. According to Erik's Chronicle the city is said to have been founded by Birger Jarl to protect Sweden from sea invasions made by Karelians after the pillage of Sigtuna on Lake Mälaren in the summer of 1187.
  
  Stockholm's core, the present Old Town (Gamla Stan) was built on the central island next to Helgeandsholmen from the mid-13th century onward. The city originally rose to prominence as a result of the Baltic trade of the Hanseatic League. Stockholm developed strong economic and cultural linkages with Lübeck, Hamburg, Gdańsk (Danzig), Visby, Tallinn (Reval), and Riga during this time.
  
  Stockholm's oldest preserved charter, the Letter of Privilege from the Privy Council (Swedish: Riksrådets privilegiebrev), was issued by the Privy Council of Sweden on 1 May 1436 as a reward for the city's loyalty and service to the realm. The document granted Stockholm significant rights and freedoms, affirming its role as the political and economic centre of Sweden. It is regarded as marking the beginning of Stockholm's status as the de facto capital of Sweden.
  
  The strategic and economic importance of the city made Stockholm an important factor in relations between the rulers of the Kalmar Union and the Swedish anti-unionist movement in the fifteenth century and early sixteenth century. The Danish union monarch Christian II was able to enter the city in 1520 and on 8 November of that year, a massacre of opposition figures called the Stockholm Bloodbath took place and set off further uprisings that eventually led to the breakup of the Kalmar Union with the reattainment of Swedish independence. With the accession of Gustav Vasa in 1523 and the establishment of royal power, the population of Stockholm began to grow, reaching 10,000 by 1600.
  
  The seventeenth century saw Sweden grow into a major European power, reflected in the development of the city of Stockholm. From 1610 to 1680 the population multiplied sixfold. In 1634, Stockholm became the official capital of the Swedish empire. Trading rules were also created that gave Stockholm an essential monopoly over trade between foreign merchants and other Swedish, Baltic and Scandinavian territories. In 1697, Tre Kronor Castle burned down and was replaced eventually by Stockholm Palace; the time of the Swedish Empire also saw several architectural modernisations of the city.
  
  The beginning of the Swedish Empire saw a renaissance in the arts and sciences; the new queen, Christina, was a strong supporter of science and culture. René Descartes, one of the most prominent European philosophers of his time, died in Stockholm; he had been hosted by the queen for several years prior to his death. Inventors, like Christopher Polhem, moved to the city during the time of the Swedish Empire. Academics also spent much time in Stockholm, like Olaus Rudbeck, rector of the Uppsala University.
  
  Throughout Sweden's history, walls were created in Stockholm to defend the city from attacks. These defensive walls were modified throughout the 13th to the 16th century. In 1625, the Great Stockholm Fire of 1625 destroyed the southwestern section of Stadsholmen, an island in the centre of Stockholm. The amount of destruction led to the beginning of the demolition of the Stockholm walls. Today, most of the younger city walls cannot be found anywhere above ground. However, parts of the northern city walls are preserved in the modern Museum of Medieval Stockholm.
  
  In 1710, a plague killed about 20,000 (36 percent) of the population. After the end of the Great Northern War the city stagnated; population growth halted and economic growth slowed. The city was in shock after having lost its place as the capital of a great power. However, Stockholm maintained its role as Sweden's political centre and continued to develop as the country's economic and cultural capital.
  
  During the Age of Enlightenment in the late eighteenth century, the city flourished. The new monarch, Gustav III, proved an able and energetic regnant; his economic policies helped the Swedish economy develop, and his partially successful war against Russia restored some of Sweden's international reputation. The king was an avid patron of the arts, and scientists and cultural figures flocked to Stockholm on a scale unprecedented since the reign of Queen Christina.
  
  During this time, Carl Michael Bellman and Joseph Martin Kraus helped develop the city's music, a process further accelerated by the founding of the Royal Swedish Opera. Various artists and writers became prominent, funded by the king and other cultural patrons like Carl Gustaf Tessin; the two aforementioned figures laid the base for Sweden's Nationalmuseum at this time. Science also became prevalent; renowned figures like Carl Linnaeus and Anders Celsius spent time in Stockholm, and various research institutes, like the Stockholm Observatory, were founded.
  
  The early nineteenth century saw a major economic decline of Stockholm and Sweden as a whole, but by the second half of the nineteenth century, Stockholm had regained its leading economic role. New industries emerged with industrialisation and Stockholm was transformed into an important trade and service centre as well as a key gateway point within Sweden. The population also grew dramatically during this time, mainly through immigration. At the end of the nineteenth century, less than 40% of the residents were Stockholm-born, with most migrants being from poorer rural Sweden; major settlement began to expand outside the historical city limits. The nineteenth century also saw the establishment of a number of scientific institutes and universities, including the Karolinska Institutet and KTH Royal Institute of Technology. The General Art and Industrial Exposition was held in 1897, drawing international attention. From 1887 to 1953 the Old Stockholm telephone tower was a landmark; originally built to link phone lines, it became redundant after these were buried, and it was later used for advertising before its demolition in the twentieth century. The early twentieth century also saw the creation of the Nobel Prizes, some of Stockholm's most renowned institutions.
  
  Stockholm became a modern and ethnically diverse city in the latter half of the 20th century. Many historical buildings were torn down during the modernist era, including substantial parts of the historical district of Klara (which caused major controversy), and replaced with modern architecture. However, in many other parts of Stockholm (such as in Gamla stan, Södermalm, Östermalm, Kungsholmen and Vasastan), many older buildings, blocks and streets built before the modernism and functionalism movements survived this era of demolition. Throughout the century, many industries shifted away from industrial activities into more high-tech and service industry areas, which still dominate the city's economy today.
  
  Stockholm's metropolitan area has become one of the fastest-growing regions in Europe. In 2020 alone, Stockholm's population increased by 1,477. As a result of this massive population growth, there has been a proposal to build densely packed high-rise buildings in the city centre connected by elevated walkways, though these have been opposed by several groups.