Castle of the Moors, built in the 8th century