Building of the fort of Saint John the Baptist of the Berlengas began in 1651, as a result of Algerian and Moroccan attacks on the islands. Already by 1655, while still under construction, the fort had successfully defended against an attack by a three-ship Turk squadron.
During the next two centuries, the fort was from time to time occupied by the Spanish (1666), the British, and later the French during the Napoleonic Wars. A few years later, the fort was a forward base for forces loyal to the recently abdicated Emperor of Brazil (i.e., loyal to Emperor Pedro I of Brazil, who was also King Pedro IV of Portugal) during the Portuguese Liberal Wars.
We anchored off at night and were greeted by this sight in the morning.