by his successor, D. Afonso II, during a seesaw period when the region oscillated between Portugal and the Moors. In 1295, Moura became a definitive part of the Kingdom under the reign of King D. Dinis, and a new foral issue in 1295, followed by a similar foral issued to the Moor community. At the beginning of the 14th century, the castle incorporated the Moorish fortifications. In 1320, a third of the land rents from churches in Serpa and Moura were donated by the Order of Aviz for the reconstruction and maintenance of the castles. New reforms were carried out in the second half of the century by order of D. Fernando, when the growth of the village demanded the extension of its borders and a second line of walls were necessary. A second series of fortifications were begun in the second half of the 14th century, under the initiative of D. Fernando. Between the 15th- and 16th-century there were several alterations, under the direction of Francisco de Arruda, that included the construction of the wall separating the dungeon and the Salúquia and clock towers. Designs by Duart de Armas, represent the castle as an irregular plan, that includes castle with barbican connected to the town wall. A new foral was issued in 1512, by King D. Manuel I. At the same time, Dominicana nuns decided to building within the walls, in 1562, a convent within the castle walls, under the direction of D. Ângela de Moura, taking advantage of the foundations of the mosque. The medieval fortress was reinforced in 1655, during the Restoration Wars, with the construction of a line of walls and defended by bastions, by Nicolau de Langres, under the initiative of King D. John IV. The walls of the fortress were dynamited in 1707, following the withdrawal of the Duke of Ossuna, during the Succession Wars. It was further damaged in 1755, following the Lisbon earthquake. These events marked a period of decline for the castle and fortifications, as in the proceeding years the taipa material were removed from the walls and reused. In 1850, the western wall of the dungeon was demolished by José Pimenta Calça, in order to construct the lagar of Vista Alegre. By 1875, the convent was finally abandoned. But, sometime in the 19th century, the clock tower was constructed. Work on recuperating the site began in 1959 with consolidation of