Next in line was Inderawangsa's son Raja Ong Maha Perita Deria, also known as Raja Bersiong, or the Fanged King. When the king was overthrown by his subjects due to his wickedness, his son was enthroned with the title of Raja Phra Ong Mahapudisat. Phra Ong Mahapudisat was succeeded by his son, Raja Phra Ong Mahawangsa who later converted into Islam.