(1) In the 8th century Bethlehem went through control of the Islamic caliphates of the Umayyads , then in the 9th century the Abbasids .
(2) Bethlehem then passed through the control of the Islamic caliphates of the Abbasids in the 9th century , then the Umayyads in the 8th century .

Do these two sentences mean the same thing?

Select from: A. no. B. yes.
A.