Pretty much, he used a dragonlance (only weapon able to kill a dragon) to stab the dragon that the leader of the enemy force was riding as it came up over the wall of the fortress (it was his sister big plot twist) but she stabbed him and the dragon ate him.