Complex sentence: When Muslims started camping, arrows began showering intensively at them, whereas the enemy's battalions started a fierce attack against the Muslims, who had to retreat in disorder and utter confusion.
Split into simpler sentences: When Muslims started camping, arrows began showering intensely at them. Their enemy's battalions started a fierce attack against the Muslims, who had to retreat in disorder and utter confusion.