The chief marched out to meet his enemy, and fought for three days with the Musulmans. On the fourth he fled, and sought to get back into the city; but the Musulmans reached the gate before the fugitives, overpowered them, and disarmed them. A dreadful slaughter ensued, the women were dishonoured, and the property seized. When Bahira saw this destruction, he fled with some trusty followers to the tops of the mountains. Mahmud sent a force in pursuit, which overtook and surrounded the party, and put all the chiefs to the sword. Bahira saw that no hope was left, so he drew a dagger and killed himself. Mahmud remained in Bhdtia until he had settled its affairs, and drawn up rules for its governance. He then returned towards Ghazna, having appointed a representative at Bhatia to instruct the people who had become Muhammadans.