 Sultan Abdul Ghafur's son, Alauddin Riyat Shah succeeded the throne in 1614.In 1615, the Acehnese under Iskandar Muda invaded Pahang, forcing Alauddin Riayat Shah to retreat into the interiors.He nevertheless continued to exercise some ruling powers.