
Guimarães Castle
Countess Mumadona Dias built the first castle at Guimarães in 950 to protect a monastery, and in 1127 a king of León abandoned his siege of it without taking it.
Guimarães Castle stands on a small granite hill at the northern edge of Guimarães. Countess Mumadona Dias, the richest and most powerful lady of her time in the north-west of the Iberian Peninsula, built the first Guimarães Castle in the second half of 950. In a parchment of 968 she declared that she had the castle built to protect the monastery against 'Gentile' attacks, probably meaning the Normans. That first castle was probably of wood, and few traces of it are left.
In the late 11th century, during the rule of the counts Henrique and Teresa, it was profoundly restructured; this was the castle that faced Alfonso VII of León when he besieged the young Afonso Henriques. In 1127, through an agreement negotiated by Egas Moniz, Alfonso VII abandoned the siege without taking the castle. On 24 June 1128, close to the castle, Afonso Henriques's army won the Battle of São Mamede against the forces of his mother, Teresa. According to tradition he was born in Guimarães, and the church of São Miguel do Castelo is traditionally associated with his baptism.
Under Afonso III or Dinis, Gothic reforms added eight towers and the keep. The castle played a decisive part in the civil war of 1321-24, whose high point was the siege of Guimarães of 1322. In 1369 Henry II of Castile surrounded it, but was defeated by the townspeople and forces loyal to the alcaide. By the end of the 15th century its military importance had run dry, and from 1692 to 1895 it served as a prison.
In 1836 a proposal to demolish it and pave the streets with its stone failed. The custodian says it was the first to be photographed in Portugal, and that in the process of Portuguese autonomy it truly played a reduced role. Repaired in the 1930s, it was inaugurated on 4 June 1940 at the ceremony opening the national centenary celebrations. Since 2001 it has been within the Guimarães World Heritage area.