Alcazar of Cordoba was a castle with beautiful gardens and ramparts.