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:House of the Blackheads (Melngalvju nams) is a building situated in the old town of Riga. The original building was erected during the first third of the 14th century for the Brotherhood of Blackheads, a guild for unmarried German merchants in Riga. Major works were done in the years 1580 and 1886, adding most of the ornaments.
The structure was bombed to a ruin by the Germans June 28, 1941 and the remains demolished by the Soviets in 1948. The current reconstruction was erected from 1995 to 1999. Today the House of Blackheads serves as a museum and sometimes concert hall.