surroundings to the archbishopric, allowing the archbishops to use the title Senhores de Braga e Primazes das Hespanhas (Masters of Braga and Primates of Hispania). Yet, this détente was short lived; D. Fernão de Lima, a noble who lived in Braga, began a war with the Archbishop, resulting in various bloody skirmishes between the two factions. By 1478, the Duke of Braganza put an end to the battles between the Archbishop and Lima. Between 1505 and 1532, Archbishop D. Diogo de Sousa ordered changes at the palace, including the erection of the Fonte dos Castelos, in the Largo do Paço, which lead to the 1545-1549 construction of the northern wing, by Archbishop D. Manuel de Sousa and the 1594 construction of the western wing in the Largo do Paço, by Archbishop D. Agostinho de Jesus. In 1709, Archbishop D. Rodrigo de Moura Teles expanded the building, altering the facades of wings oriented to the Largo do Paço and erecting a chapel. Between 1740 and 1750, the Archbishop of D. José de Bragança, further expanded the palace, ordering the construction of the Baroque wing oriented to the municipal square. This was further enriched between 1758 and 1789, when Archbishop D. Gaspar de Bragança expanded the library, with a number of notable documents. In the second half of the 19th century, D. Miguel and his cortege installed himself in the archiepiscopal palace, spending his time in Braga at the bullfights in the municipal square. By 1834, the archbishops were confined to the wing overlooking the eastern edge of the Largo do Paço, as the prefecture of Minho is installed in the building, with much later the Civil Governor of Minho and offices of other services. On 15 April 1866, there was a violent fire that destroyed the Baroque wing oriented towards the municipal square, in addition to the contents of the D. Gaspar de Bragança's library, gutting his collection. By 1871, the ruins of the wing were demolished and the many of the stones collected. By 1903, many of the facades exposed to the Largo do Paço were plastered and painted, with the walls constructed from wood and mortar. In 1911, the archbishops were expelled definitively from the episcopal palace, and the 8th infantry regiment, courts and municipal firefighters installed in the building. By order of the Comissão Central dos Bens Eclesiásticos (Central Commission for Ecclesiastical Property) on 18 November 1912, following