 Matta and a large retinue met Chach's army, and a battle was fought between the opposing factions.Chach defeated Matta and he was forced to flee to his fort.Besieged, his garrison surrendered and, after one week, he sued for peace.