But when the warrior on his black charger and in glittering armour appeared on the scene , hewing right and left with his sword , the enemy were dismayed and fled in all directions , leaving the king master of the field .