Of Muslim origin , this medieval fortress was constructed in the 8th century .
Of Muslim origin , this medieval fortress was conquered by King Alfonso VIII in 1184 .
Of Muslim origin , this medieval fortress was constructed in the 8th century and conquered by King Alfonso VIII in 1184 .