Input (grade 12): During the beginning of the Muslim conquest in the Indian subcontinent his kingdom was conquered by Muhammad bin Qasim for the Umayyad Caliphate.
Output (grade 12): In the early part of the Muslim conquest in the Indian subcontinent, Muhammad bin Qasim took control of Dahir's kingdom for the Umayyad Caliphate.