The Castle is the oldest part of the Alhambra which was originally built in the 8th and 9th centures, but were rebuilt later.