The town of Nogales was incorporated into the lordship of Feria in 1395 after its purchase by Gómez I Suárez de Figueroa, the first lord of Feria. In the mid-15th century, the repopulation of the locality began, and the construction of the castle to protect its inhabitants commenced.
Above the gate of the homage tower, you can find a coat of arms of the Figueroa family and another of the Manuel family, along with an inscription indicating that the fortress was built by the order of Lorenzo Suárez de Figueroa, the son of Gómez Suárez de Figueroa, in 1458.
On the gate of the walled enclosure, there are two more coats of arms, one of the Figueroa-Manuel family and another of the Osorio and Rojas family. These coats of arms were placed in 1464 by Gómez Suárez de Figueroa, the son of Lorenzo Suárez de Figueroa.
The military use of the building continued over time and was employed during conflicts with the French and Portuguese. Although it did not fall into a state of ruin, the passage of time and neglect deteriorated the structure until the Junta de Extremadura decided to restore it in the late 20th century.
References:The Temple of Edfu is one of the best preserved ancient shrines in Egypt. It was built in the Ptolemaic Kingdom between 237 and 57 BC.
Edfu was one of several temples built during the Ptolemaic Kingdom, including the Dendera Temple complex, Esna, the Temple of Kom Ombo, and Philae. Its size reflects the relative prosperity of the time. The present temple initially consisted of a pillared hall, two transverse halls, and a barque sanctuary surrounded by chapels. The building was started during the reign of Ptolemy III Euergetes and completed in 57 BC under Ptolemy XII Auletes. It was built on the site of an earlier, smaller temple also dedicated to Horus, although the previous structure was oriented east–west rather than north–south as in the present site.