Mohammad Qasim defeated Raja Dahir, the ruler of the Sindhi Brahman dynasty, to capture Sindh. He was a skilled warrior and general with great military intelligence that helped him capture the Sindh region successfully.