The Castle of Medinaceli is a medieval fortress in Medinaceli. It was built in the 9th century and rebuilt in the 15th century. Almanzor died here in 1002.