Question: What was this castle built to do to the christian advance from the north?
Relevant Wikipedia article: https://en.wikipedia.org/wiki/Alcazaba_of_Antequera