Complex sentence: Anticipating a landward attack ISIS had dug in and prepared earthworks and trenches, however SDF were warned of them by the US.
Split into simpler sentences: Anticipating a landward attack ISIL had dug in and prepared earthworks and trenches. The SDF were warned of them by the US.