Although Islam spread rapidly in the world as soon as it surfaced in the world, but it established its foothold in the Indo-Pak Sub-continent in the beginning of 8th Century A.D. It was during the rule of sixth Umayyad caliph, Walid bin Abdul Malak (705-715 A.D), when an overarching incidence of ship looting occurred near Debal, a sea port. The ships, carrying widows and children of deceased Arab soldiers, sent by the king of Ceylon (present day Sri-Lanka) to the Umayyad Governor, Hajjaj bin Yousef, of Baghdad were ransacked by a contingent of ferocious Hindu pirates. Hajjaj sent his emissary to the Rajput king, Raja Dahir under whose jurisdiction the pirates carried out the loot. The raja bluntly turned down the Governor’s claim said the pirates were not under his sway. Hajjaj decided to send the young Imaduddin Muhammad bin Qasim to teach the raja a lesson and release the prisoners. Muhammad bin Qasim was the ruler of Faris when he was called back by the Governor.
Muhammad bin Qasim then led a glorious Muslim army and invaded Sindh in 712 A.D. During his short stay in Niran he was reinforced by four thousands Jats who were long subdued by the self-righteous king. Raja Dahir came with his 40,000 soldiers along with contingents of elephants. However, the Raja killed in the battle field and his demoralized army retreated. Muhammad bin Qasim not only released the prisoners along with the looted ships but also established Islamic society/rule in Sindh. Qasim continued to expand the Muslim society beyond Sindh. He marched up to Multan where he defeated Raja Gor Singh.
During this time several changes occurred that made his expeditions slow down and finally put a halt. Hajjaj bin Yousef had been died in 714 A.D and, within months administrative changes wrought in Damascus. Walid bin Abdul Malak was replaced by his brother Suleman bin Abdul Malak (715-717 A.D). The new ruler was extravagantly luxury loving