Original: By the late 13th century , the kingdom of Pasai in northern Sumatra converted to Islam .
Simplified: During the 13th century Islam spread to the in northern Sumatra .