Daeng Chelak, one of the five Bugis warriors, married Sulaiman Badrul Alam Shah's sister, Tengku Mandak.[1] He was made the second Yang di-Pertuan Muda of Riau from 1728 until 1745.[4][5] He appointed his son, Raja Lumu to become Yamtuan Selangor on 1743.[2] In the same year, Raja Lumu was recognised by the 14th Sultan of Perak, Sultan Muhammad Shah ibni Sultan Mansur Shah III as the Raja Selangor, after helping the Sultan ascended Perak's throne. He continued to hold the title until 1766.[2]