Complex sentence: Due to a lack of supplies, Zhang Ji and his men attacked Jing, and Zhang Ji was killed by a stray arrow.
Split into simpler sentences: Due to a lack of supplies, Zhang Ji and his men attacked Jing, which lead to Zhang Ji's death. During the battle, Zhang Ji was killed by stray arrow.