text: Originally the 13th-century fortress of Naples ' French ruler Charles d 'Anjou , it was rebuilt in the 15th century as a palace for the Spanish kings of Aragon .
  
  ###
  
  Naples was ruled by the Spanish in the 13th century and by the French in the 15th century .