During the Portuguese succession crisis of 1580, Bragança sided with António, Prior of Crato. During the War of Restoration for the independence of Portugal, the ancient castle suffered damage. In a chapter of the Seven Years' War, Spain invaded Portugal, heavily damaging the castle.