Naturally, these appointments earned the wrath of many chiefs and top ministers, including Tun Habib himself.
The Laksamana, unable to withhold the tremendous opposition from Tun Habib and his allies, fled to Terengganu in 1688 where he was shortly killed after that.
At least on the ceremonial side, Tun Habib swore allegiance to the young Sultan even as he wielded sole effective authority over the kingdom.
[13] Tun Habib was also reportedly well-loved and respected among his subjects and often worked closely with his ministers (Orang Kaya).
Shortly after he regained power, Tun Habib relocated the Johor Empire's capital to Kota Tinggi.
[20] The name "Habib" was a local Acehnese variant of the "Sayyid", an honorific title used by descendants of the Prophet Muhammad.
However, in lieu of terse relations between Aceh with its neighbours in the 16th century, Tun Habib's name revealed his Acehnese heritage served to raise suspicions when it came to political matters.