In 1853, Tun Ali declared his autonomy from the empire, paving the way for an independent Pahang, after two centuries of union with the crown of Johor. He was able to maintain peace and stability during his reign, but his death in 1857 precipitated civil war between his sons.[1]