Complex sentence: The loss of Beersheba stunned the Yildirim Army Group commander and staff, however, they were able to establish a new defensive line north of Beersheba and the 19th Division was sent from the XXII Corps defending Gaza to reinforce the new line.
Split into simpler sentences: The loss of Beersheba stunned the Yildirim Army Group commander and staff. However, a new defense line north of Beersheba was established and the 19th Division was sent from the XXII Corps defending Gaza to reinforce the new line.