The family were originally members of aristocracy that forged strong marriage relations with the family of the ruling Sultans since the times of Melaka Sultanate. The ascendancy of the family as a royal house began in the late 17th century, when the last ruler of Johor from Melaka dynasty, Mahmud Shah II died without a male heir.