In the battle, Rangda put a spell on Airlangga’s army that made them want to kill themselves with their own kris daggers.However, Barong himself cast a spell that made the soldiers’ bodies resistant to their krises. This enabled Airlangga’s side to defeat Rangda, who fled, thereby bringing about a balance in the cosmos once again.