Dahir was the Brahman ruler of Sind when Muhammad bin Qasim, an Arab general of the Umayyad Caliphate, invaded Sind in 712 AD.