What was captured in the 10th century