At the same time, Sufi mystics synthesized Islamic teaching with local Malay traditions of animistic magic and charisma, though Islam did not become the state religion until Muzaffar Shah became sultan of Melaka (1446 1459).
The state religion did not become Islam until between 1446 and 1459.