Complex sentence: On 31 August, at a Drvar assembly, Đujić was given the task of stopping the Italian advance; immediately afterwards, however, he made an agreement with the Italians granting them free passage.
Split into simpler sentences: On 31 August, at a Drvar assembly, Đujić was given the task of stopping the Italian advance. Immediately afterwards, he made an agreement with the Italians granting them free passage.