Raja Mahmud ibni Almarhum Sultan Abdul Jalil (Jawi: راج محمود ابن المرحوم سلطان عبد الجليل), known as Raja Melewar (Jawi: راج مليوار), was the first Yamtuan Besar (equivalent to a sultan) of Negeri Sembilan, Malaysia.
The Minangkabau people were the first migrant community to settle in the area north of the Malacca Sultanate which eventually formed the confederation of Negeri Sembilan circa the 15th century.
The Yamtuan of Pagaruyung, who was believed to be a descendant of Dhu al-Qarnayn, gave them a leader in the form of his son, Raja Mahmud.
Raja Melewar later relocated his palace to Seri Menanti, which remains the royal capital of Negeri Sembilan.
[2] Selecting a ruler of Negeri Sembilan by a council of ruling chiefs in the state, or the datuk-datuk undang, became an implemented system.