Castell de Sant Martí de Centelles crowns Turó Agulla at 855 meters altitude, representing one of Spain's most significant examples of medieval and modern fortification. First mentioned in 898 as Sant Esteve, the castle passed to the prominent Centelles family who expanded it into a baronial stronghold controlling extensive lands. The structure underwent major reinforcement by King Peter IV in 1465 following a lengthy siege, with expanded fortifications added during the royal renovation. Though the Centelles family relocated to Santa Coloma de Vinyoles in the early 15th century, they retained their noble title. The castle exemplifies the transition from medieval to early modern military architecture, combining earlier stone construction with 15th-century defensive innovations across its fortified chambers and walls.