Doune Castle was originally built in the thirteenth century, then probably damaged in the Scottish Wars of Independence, before being rebuilt in its present form in the late 14th century by Robert Stewart, Duke of Albany (c. 1340–1420), the son of King Robert II of Scots, and Regent of Scotland from 1388 until his death. Duke Robert's stronghold has survived relatively unchanged and complete, and the whole castle was traditionally thought of as the result of a single period of construction at this time. The castle passed to the crown in 1425, when Albany's son was executed, and was used as a royal hunting lodge and dower house.
In the later 16th century, Doune became the property of the Earls of Moray. The castle saw military action during the Wars of the Three Kingdoms and Glencairn's rising in the mid-17th century, and during the Jacobite risings of the late 17th century and 18th century. By 1800 the castle was ruined, but restoration works were carried out in the 1880s, prior to its passing into state care in the 20th century. It is now maintained by Historic Environment Scotland.
Due to the status of its builder, Doune reflected current ideas of what a royal castle building should be. It was planned as a courtyard with ranges of buildings on each side, although only the northern and north-western buildings were completed. These comprise a large tower house over the entrance, containing the rooms of the Lord and his family, and a separate tower containing the kitchen and guest rooms. The two are linked by the great hall. The stonework is almost all from the late 14th century, with only minor repairs carried out in the 1580s. The restoration of the 1880s replaced the timber roofs and internal floors, as well as interior fittings.
References: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.