Complex sentence: Kunlun arrives at the palace and mistakes Qingcheng for the King because she is unarmed, and instead kills the King, who has just drawn his sword.
Split into simpler sentences: Kunlun arrives at the palace and mistakes Qingcheng for the King because she is unarmed. Instead, he kills the King, who has just drawn his sword.