Tun Habib Abdul Majid bin Tun Ali bin Tun Muhammad (1637[1] – 27 July 1697)[2] was the 19th[3] Bendahara (the ancient Malay equivalent of a Grand Vizier) of the Johor Sultanate during the late 17th century.[4] The Johor Sultanate under Sultan Mahmud Shah II (who belonged to the Malacca-Johor royal family) saw a gradual decline of royal authority during Tun Habib's tenure as the Bendahara of Johor. Internal challenges within the Sultanate faced by Tun Habib consolidated his power as the Bendahara, in which case the Bendahara monopolised legitimate authority over the Johor Sultanate by the 1690s.[5] After his death, Tun Habib's descendants spanned throughout the Johor Sultanate and established ruling houses in Riau-Lingga, Johor, Pahang and Terengganu.[6]