As a result of its multiple origins, the Islam that reached Southeast Asia was very varied. The normal pattern was for a ruler or chief to adopt Islam—sometimes because of a desire to attract traders, or to be associated with powerful Muslim kingdoms like Mamluk Egypt, and then Ottoman Turkey and Mughal India, or because of the attraction of Muslim teaching. Mystical Islam (Sufism), which aimed at direct contact with Allah with the help of a teacher using techniques such as meditation and trance, was very appealing.