A primitive fort was initially constructed in 1577 under the orders of King Sebastian I of Portugal, with the intention of defending the fishing, shipbuilding and wood trading activities of Nazaré from attacks by Algerian, Moroccan, Dutch and Norman pirates.
On the portal above the entrance, King John ordered a limestone image of St. Michael the Archangel to be placed, with the caption "EL REY DOM JUAN-1644".
[3] During the French invasion of Portugal it was occupied in 1807 or 1808 by a detachment of 50 men, after its artillery pieces had been removed to the Citadel of Cascais to provide protection for Lisbon.
The French were imprisoned by the local inhabitants after a group of students succeeded in persuading the invaders to surrender, convincing them that the Portuguese had received reinforcements.
The fort became a landmark of popular revolt but, later, the French invaders returned to the area, killing inhabitants and burning houses and boats in reprisal.
[1] After the departure of D. Miguel I to exile, in July 1834, the stone image of St. Michael the Archangel at the fort was attacked by the supporters of Pedro and thrown down the walls to the beach.