Castle of Miranda do Douro: A Portuguese Frontier Fortress

Site at a Glance

Rating
4.3
Popularity
Low
Country
Portugal
Primary era
Medieval
External website
Open
Eras represented
Medieval, Early Modern
Civilizations
Portuguese
Site type
Military
Remains
Castle
On this page12 sections

History

The Castle of Miranda do Douro is a medieval Portuguese fortification in Portugal, first documented during the formation of the Portuguese frontier in the twelfth century. Its exact construction date is uncertain, but the settlement and its defenses occupied a strategic position near the Douro. The site developed through successive periods of Celtic, Roman, Suebi, Visigothic, Muslim, and Christian control, before becoming a Portuguese military outpost and fortified town.

Early settlement and the Christian frontier

The settlement that became Miranda do Douro probably originated before the Roman occupation of the Iberian Peninsula. It was later influenced or occupied by Celtic, Roman, Suebi, Visigothic, and Muslim populations. Muslim control began by the late eighth or early ninth century. Christian forces reached the Douro in 857, and the territory was eventually incorporated into the County of Portugal, the political territory from which the Portuguese kingdom emerged.

By 1093, the Miranda section of the Douro formed part of Galicia’s eastern limits. It subsequently came under Count Henry, Countess Teresa, and their son Afonso Henriques, who became the first king of Portugal. The castle was first recorded during this period. A fortification already stood at Miranda when Afonso Henriques granted the settlement a charter in 1136 and designated it as a military outpost. The earlier defenses had been damaged or left in ruins during the Christian Reconquest, the long process by which Christian kingdoms reoccupied territories ruled by Muslims. The charter, known as a foral, defined local rights, obligations, and privileges intended to encourage settlement and defense around the castle.

Miranda’s charter was confirmed in 1217. During the conflicts involving Sancho I, his son Afonso II, and Alfonso IX of León, Leonese forces occupied the territory, although Portugal recovered the castle in 1213. Under Denis of Portugal, the settlement’s privileges were confirmed in 1286, and the castle and town defenses were rebuilt between 1294 and 1299. These works took place during Portuguese military activity against Castile and the adjustment of the frontier through the Treaty of Alcañices in 1297.

Royal privileges and frontier warfare

Miranda became a town in 1325. Its defenses were improved during the reign of John I, and Pedro Lourenço de Távora became castle governor in 1385. The town supported John I and had a small population, circumstances that contributed to repeated Castilian occupations. Miranda returned to Portugal under the Treaty of Évora in 1371, while the fortification walls and military square were improved in 1383 under Pedro Homem de Távora. In 1402, John I granted a privilege allowing sixty fugitives or convicted persons to settle in Miranda, strengthening its population and defensive capacity. In 1449, Afonso V gave Miranda, its castle, and other fortifications and territories to the Duke of Bragança.

During the reign of Manuel I, Duarte de Armas recorded and illustrated the castle and the walls around the settlement in the Book of Fortresses, compiled around 1509. Manuel I issued a new charter for Miranda in 1510. Peace with Castile brought prosperity, and the town became an important trading center between Portugal and Spain. Miranda became a diocese, an ecclesiastical district governed by a bishop, and John III elevated it to city status by royal charter on 10 July 1545. From the mid-sixteenth to the mid-eighteenth century, it was the capital of Trás-os-Montes, the province’s only bishopric, and an important military center.

Wars, destruction, and decline

The War of the Portuguese Restoration, the conflict through which Portugal defended its independence from Spain after 1640, brought renewed attacks. Spanish operations between 1640 and 1646 damaged Miranda and disrupted agriculture and commerce. From 1644, John IV ordered the modernization and reinforcement of the defenses, including bastioned lines. These projecting angular works were designed to withstand and deliver artillery fire. Miranda resisted a Spanish siege in 1646 until relief arrived under Rodrigo de Alarcão, governor of the province.

During the War of the Spanish Succession, a European conflict over the Spanish throne, Miranda was captured by deception on 8 July 1710. Sergeant Major Pimentel handed the city to Alexandre Maître de Bay, Marquis of Bay, in exchange for 600 doubloons. Portuguese forces commanded by John Manuel de Noronha, Count of Atalaia, recaptured it on 15 April 1711 after storming the outer works and breaching the walls.

Work on the castle continued in 1746 under Luís Xavier Bernardo. During the Seven Years’ War, another European conflict involving the major powers of the period, Spanish forces commanded by Nicolás de Carvajal y Lancaster, Marquis of Sarriá, invaded Trás-os-Montes. On 8 May 1762, approximately 22,500 kilograms of gunpowder exploded in a powder magazine. The blast devastated the castle, damaged houses and walls, and killed about 400 people. Miranda capitulated afterward, but Portuguese forces recovered the city under the Count of Lippe in the following year. Peace was signed on 10 November 1763.

Miranda was placed on military alert during the Peninsular War because of the threat from Napoleonic forces. By 1804, the destruction caused by the 1762 invasion and explosion had left the city without an effective military square, fort, fortress, or artillery. In 1861, military authorities described planned works as abandoned and the fortifications as having no practical utility. The loss of its military role, together with later military events and the permanent loss of its episcopal status, contributed to the city’s decline. The ruins were classified as a Property of Public Interest by decree on 20 October 1955, and management of the property passed to the Portuguese Institute of Architectural Patrimony on 1 June 1992.

Remains

The castle occupies an urban position within the medieval town, surrounded by later buildings, roads, and avenues. Its irregular rectangular enclosure adapted to the terrain and was built chiefly in granite and schist bonded with mortar. The walls were battlemented and enclosed a substantial military square, now an extensive open square. The former castle and the wider town defenses survive as connected parts of the historic urban fabric.

Castle enclosure

Towers, keep, and military square

The outer defenses were strengthened at three external angles by corner towers, two rectangular and one hexagonal. A rectangular keep, the principal fortified tower of a castle, stood within the enclosure alongside other polygonal towers. The gates were protected by lateral towers. Duarte de Armas’s depiction from around 1509 shows the castle and the walls enclosing the settlement, together with a barbican, an outer defensive work protecting an entrance.

The castle contains a courtyard, the primitive military square, and a cistern reached by stairs. The military square included a central pool that supplied potable water. The cistern is obstructed and protected by a metal railing. The keep stands at an elevation of approximately 682 metres. One façade has been destroyed, leaving open gaps and exposed masonry, while the surviving walls are about 2 metres thick.

Town walls and gates

Enclosure and principal entrances

Extensive wall lines remain around the old city and are complemented by a circular roadway. The town enclosure measured approximately 600 paces and was entered through three principal gates: the Gate of Senhora do Amparo, the False Gate, and the Postigo Gate. Several wall sections retain openings or recessed defensive features, and two stairways lead to a round wall-walk set within the wall faces.

Gate of Senhora do Amparo

The Gate of Senhora do Amparo stands at the end of Rua da Costanilha. Its pointed arch is set within projecting masonry and is associated with an image of the Lady of Amparo. One of the town gates was protected by machicolations, projecting openings through which defenders could attack people below.

False Gate and Postigo Gate

The False Gate lies beside the castle area. The Postigo Gate is positioned to the east above the bank of the Douro River. Together with the surviving wall sections and stairways, these entrances express the relationship between the castle enclosure and the larger fortified town.

Medieval urban layout

The town has an approximately octagonal layout. Its principal axis follows Largo de D. João III and Rua da Costanilha and is crossed by Rua do Abade de Baçal. The medieval burg placed the castle to the north and Miranda do Douro Cathedral and the episcopal palace to the south, with the cathedral and palace occupying the southern corner of the town.

Nearby sites

Scroll to Top