sentence1: In the 9th century Bethlehem went through control of the Islamic caliphates of the Abbasids , then in the 8th century the Umayyads .
sentence2: In the 8th century Bethlehem went through control of the Islamic caliphates of the Umayyads , then in the 9th century the Abbasids .