Gormaz was the largest fortress in Europe after its expansion in 956 AD. It is without a doubt the greatest example of military architecture, not only in Soria but in the entire Spanish territory. The original castle was built shortly after 756 AD by emir Abd ar-Rahman I of Córdoba, as part of a state ('dawla') policy to control rich landowners and peasants, as well as to try to govern and protect the Central Marches in the Douro Valley against the Christians to the North. In 965, Caliph al-Hakem II rebuilt and expanded the castle, as attested by an inscription over one of the gates.
The castle is more than 390 metres long though only 10-40 metres wide, has 28 towers, a main gate with a monumental horseshoe arch with remains of painted red and white voussoirs, two posterns, one of which with a small horseshoe arch, three mihrabs corresponding to a 'musalla' or open air collective oratory, use of 'spoliae' of the Roman period, and the remains of a water pool near the monumental gate mentioned before. It was repaired in the 14th century, from which time date the remains of two gates on the southern side.
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.