Complex sentence: The city was captured by the Rashidun Caliphate in 638 became a base for their raids further into Anatolia, which was pursued also by the Abbasids.
Split into simpler sentences: The city was captured by the Rashidun Caliphate in 638. It then became a base for their raids further into Anatolia, which was pursued also by the Abbasids.