By the 17th century, the Royal families of Cham Lords also began to turn to Islam and this eventually triggered a major shift in religious orientation of the Cham so that by the time of their final annexation by the Vietnamese, the majority of the Cham people had converted to Islam.