Phra Ong Mahapudist was crowned king after his father's death. Sultan Mudzafar Shah, Phra Ong Mahawangsa: He was the only son of Phra Ong Mahapudisat. He was originally Hindu, but when Islam first came to the Malay Peninsula, he became a Muslim, changed his name into Sultan Mudzafar Shah, and the Kingdom of Langkasuka into the Kedah Sultanate.