structure was reformed in the Almohad period, when it acquired the main elements that have survived to the present day, from which remains of rammed-earth walls survive. In the area of the current Praça da República, next to the Overseas National Bank building, an old horseshoe arch door was found, associated, in its origin, with a defensive tower. In the area of the current alcáçova, an albarrã tower still remains, multifaceted and facing south, detached from the other structures. From the conquest by the Christians, a new constructive stage took place, giving it the oval plant still identifiable today, which, in the Low Middle Ages, reached about five hectares, a considerable surface for the time and which attests to the importance of the settlement. From this period, interventions carried out under the reigns of D. Afonso III and Denis of Portugal are noteworthy, believed to date from the latter the remains identified in the grounds of Pensão Castelo, as well as the original configuration of the D. Manuel Gate, in a broken arch still in Gothic style. In the passage to the Modern Age, this door became the main axis of passage between the interior and exterior of the walls, which is why the arms of this sovereign are inscribed on it. The fence then had 7 doors: Fernão Mendes, Mouraria, Postigo, Feição, Vila Fria, D. Manuel and Porta Nova. Legends The legends of the Moorish castle of Tavira Local tradition states that, in the castle, there is an enchanted Moorish who, every year, on the night of Saint John's Eve, appears to mourn his destiny. She would be the daughter of Aben-Fabila, the Moorish governor who, when Tavira was conquered by Christians, disappeared by magic arts, after enchanting her daughter. It is said that he intended to return to regain the city and thus rescue his daughter, but he never succeeded. Another legend reports a great passion of a Christian knight, Don Ramiro, for the enchanted Moorish. One night in Saint John's Eve, when the knight saw the Mooress crying in the battlements of the castle, he was impressed both by its beauty and by the unhappiness of its condition. Lost in love, he decided to climb the castle walls to disenchant her. The task, however, proved to be difficult, and the knight took so long to climb that the dawn broke, thus passing the time to break the