Original: However campaigns into Egypt faltered against the resistance of the Abbasids (914-915 and 919-921), with heavy casualties.
Simplified: But campaigns into Egypt failed because of the resistance of the Abbasids (914-915 and 919-921).