Toompea Castle is situated on the steep limestone hill in the central part of Tallinn. The first wooden castle is believed to have been built on the hill in either the 10th or 11th century by residents of the ancient Estonian county of Rävala. It was probably one of the first inhabited areas of what later became Tallinn. In 1219, the castle was taken over by Danish crusaders - led by Valdemar II. According to a legend very popular among Danes, the very first flag of Denmark (Dannebrog) fell from the sky during a critical stage of the Battle of Lyndanisse, fought near the castle, resulting in Danish victory over Estonians. The current castle is mainly constructed in the 13th and 14th centuries.
The castle is one of the most potent symbols of the reigning power, which over the centuries has been conquered by various nations. According to the Altmark peace treaty of 1629, Estonian territories went to the king of Sweden. In 1583–1589 a new ceremonial building, the State Hall building, was erected on Toompea. It was located against the western wall between Tall Hermann tower and the convent building.
In 1710 the ownership of Toompea went from the Swedes to the Russian Czarist Empire. The Russian Empress Catherine the Great ordered the construction of the Estonian Government Administration building in the east side of the fortress; it was completed in 1773.
On 24 February 1918, Estonia became an independent state. From 1920 until 1922, according to the plans of the architects Eugen Habermann and Herbert Johansen, the building of the Parliament (Riigikogu) was built in the castle courtyard. The expressionist design of the building makes it unique among the parliament buildings of the world. In 1935, the palatial south wing was built on the south side, copying the style of the Government Administration building, and the Governor's Garden was laid out in appropriate design.
The Toompea castle and the surrounding old town are is one of the best preserved medieval cities in Europe. Nineteen of the original sixty six defense towers are survived. The old town is in the list of UNESCO World Heritage Sites. The castle is open to the public with no charge. There are also guided services available.
Rosenborg Palace was built in the period 1606-34 as Christian IV’s summerhouse just outside the ramparts of Copenhagen. Christian IV was very fond of the palace and often stayed at the castle when he resided in Copenhagen, and it was here that he died in 1648. After his death, the palace passed to his son King Frederik III, who together with his queen, Sophie Amalie, carried out several types of modernisation.
The last king who used the place as a residence was Frederik IV, and around 1720, Rosenborg was abandoned in favor of Frederiksborg Palace.Through the 1700s, considerable art treasures were collected at Rosenborg Castle, among other things items from the estates of deceased royalty and from Christiansborg after the fire there in 1794.
Soon the idea of a museum arose, and that was realised in 1833, which is The Royal Danish Collection’s official year of establishment.