 The slave girls of Viet were even eroticized in Tang dynasty poetry.The Islamic invasions, starting in the 8th century, also resulted in hundreds of thousands of Indians being enslaved by the invading armies, one of the earliest being the armies of the Umayyad commander Muhammad bin Qasim.Qutb-ud-din Aybak, a Turkic slave of Muhammad Ghori rose to power following his master's death.