Миранда-ду-Дору
The Castilians finally occupied Miranda do Douro during the late 14th century, and would remain there until they were expelled by John I of Portugal. On 10 July 1545, King John III elevated "Miranda do Douro" to the status of city, at the same time becoming the first diocese in Trás-os-Montes (in a papal bull on 22 May 1545 by Pope Paul III, which segmented a major part of the archdiocese of Braga. Miranda, therefore, became the capital of the Trás-os-Montes, seat of the bishopric (that included the residence of the bishop, canons and ecclesiastical authorities), military governorship and civil centre.