Original sentence: A number of failed expeditions were made to Islamize the region.Muslims were a minority until Ya'qub bin Laith as-Saffar of Zaranj conquered Kabul in 870 and established the first Islamic dynasty in the region.Report of a massacre in the close by Bamiyan is recorded around this period, where the entire population of the valley was annihilated by the Mongol troops as a revenge for the death of Genghis Khan's grandson.The Islamic conquest reached modern-day Afghanistan in 642 AD, at a time when Kabul was independent
Edited sentence: A number of successful expeditions were made to Islamize the Afghan region when it was destroyed and occupied by Arabs.Muslims were relatively dominant as a minority until Ya'qub bin Laith as-Saffar of Zaranj conquered Kabul in 870 and established the first stable Islamic dynasty in the region.Report of a massacre in the close by Bamiyan is recorded around this period, where the entire Muslim population of the valley were brutally annihilated by the Mongol troops as a revenge for the death of Genghis Khan's grandson.The Arab Islamic conquest reached modern-day Afghanistan in 642 AD, at a time when Kabul was separate from Sassanid rule