Founding Nilai has its own unique origin and history. Historically, Nilai was under
luak Sungai Ujong administered by waris di Darat or waris di Air. Under Dato’ Johan from waris di Darat three Dato’ Lingkungan controls the 3
corak suku Batu Hampar concentrated in a few villages. Other lines including those from Bentan that are not based on
suku, but are based on the village where they live. As a Lembaga waris Perut Hulu, Waris Telaga Undang Dato’ Johan is not a
titian balai because Dato’ Andika is more senior. However, the power endowed by Dato’ Kelana Putera to collect tax until the year 1894 shows that the Dato’ Johan position concerning
balai Undang is important. The third Dato’ Johan, Dato’ Maamor is the Dato’ Kelana Putra, the 8th Undang Luak Sungai Ujong. Even while being appointed as Pesaka Dato' Kelana Putera, Dato’ Maamor is still a child. At that time, Pesaka Dato' Kelana Putera position is left vacant since 1887 when Dato' Mohd Yusof, the Undang Luak Sungai Ujong is relieved from duty. Because waris Perut Hulu does not have a son to hold the
pesaka, the
anak-anak buah unanimously appointed Dato’ Maamor who was still a child hold the pesaka Dato' Johan and then titled Dato’ Kelana. Dato’ Johan's jurisdiction also covers Lenggeng Mukim which includes Mendum Village, Lenggeng Village, Sungai Jai Village, Hulu Beranang Village and Dacing Village. All these villages have their own
ketua adat called ‘Tua Waris’. There are also
suku of Minangkabau people concentrated on other
luak in
Negeri Sembilan before settling in Lenggeng Village. To ensure their welfare in
Luak Sungai Ujong, all
suku was given ‘Tua Waris’ to be their representative in matters relating to tradition and administration in Balai Undang Luak. ==Climate==