Terengganu emerged as an independent sultanate in 1725. The first sultan was Zainal Abidin I, the younger brother of a former sultan of Johor, and Johor strongly influenced Terengganu politics through the 18th century. However, in the book Tuhfat al-Nafis, the author, Raja Ali Haji, mentions that in the year 1708, Zainal Abidin I was installed as the Sultan of Terengganu by Daeng Menampuk – also known as Raja Tua – under the rule of Sultan Sulaiman Badrul Alam Shah.