of the Swedish monarch, while Drottningholm Palace in neighboring Ekerö serves as the Royal Family's private residence. History and name After the Ice Age, around 8000 BC, there were already many people living in what is today the Stockholm area, but as temperatures dropped, inhabitants moved south. Thousands of years later, as the ground thawed, the climate became tolerable and the lands became fertile, people began to migrate back to the North. At the intersection of the Baltic Sea and lake Mälaren is an archipelago site where the Old Town of Stockholm was first built from about 1000 CE by Vikings. They had a positive trade impact on the area because of the trade routes they created. Stockholm's location appears in Norse sagas as Agnafit, and in Heimskringla in connection with the legendary king Agne. 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 () means log in Swedish, although it may also be connected to an old German word () meaning fortification. The second part of the name () means islet and is thought to refer to the islet Helgeandsholmen in central Stockholm. According to the Eric Chronicles 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, Visby, Reval, and Riga during this time. Between 1296 and 1478 Stockholm's City Council was made up of 24 members, half of whom were selected from the town's German-speaking burghers. The strategic and economic importance of the city made Stockholm an important factor in relations between the Danish Kings of the Kalmar Union and the national independence movement in the 15th century. The Danish King Christian II was able to enter the city in 1520. On 8 November 1520, 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