 In 1857 Tun Ali ordered the execution of Tun Ahmad, his son by another wife, Chik Puan Lingga, whom he married in 1832.Tun Ahmad immediately fled to Singapore, and returned to Pahang when Tun Ali died.Conflict broke out between Ahmad and Mutahir, which became a civil war that engulfed Pahang.