Complex sentence: By the end of that day all hostilities ended and about 40 people were killed in total.
Split into simpler sentences: By the end of that day all hostilities ended. About 40 people were killed in total.