Castillo de San Andrés is a late-17th-century military fortress built circa 1706 in San Andrés, Santa Cruz de Tenerife, to defend the Canary Islands against pirate attacks. Constructed following the coastal fortification campaign ordered by King Philip II's military engineer Leonardo Torriani, this castle gained historical prominence during the 1797 Battle of Santa Cruz when its cannons damaged Admiral Nelson's flagship Theseus, contributing to the British naval defeat. Declared a Spanish Historical Heritage site in 1967 and a Cultural Interest site in 1999, only partial remains of the main tower are visible today in a public plaza, representing a significant chapter in Atlantic defense strategy.