Family tree of Selangorean monarchs
Before the emergence of Selangor as a political entity, ancient settlements existed along all the major rivers between Bernam and Lukut rivers, with two important settlements Klang and Jeram, were governed by princes and chieftains appointed by Melaka and later Johor. At the end of the 17th century, Buginese emigrants began establishing settlements in Selangor.
Source: Wikipedia — Family tree of Selangorean monarchs (CC BY-SA 4.0)