In a hall of the castle the famous Barons conspiracy against King Ferdinand I, Alfonso's son, occurred.
After the fierce sack of Naples by Charles VIII of France's soldiers in 1494, the Kingdom was annexed by Spain, and the castle was reduced from residence to an important military fortress.