Sind was ruled by the Brahmin dynasty founded by Chach (c. 632-712 CE) when Arabs invaded in 712 CE. Chach, a Brahmin official, usurped the throne and established a dynasty that ruled until Muhammad bin Qasim's conquest. This facilitated the first Islamic foothold in the subcontinent.