From the Galactic Republic's point of view, the monarchy of the Naboo people was their single most important institution, and its origins could be traced back to the earliest days of their society.[1] Around 3,900 BBY, the Republic explorer Kwilaan, discovered the planetNaboo with a fleet of three starships. Groups of Human refugees fleeing a civil war on Grizmallt, led by none other than Kwilaan, settled in the mountains and great grass plains of Naboo.[2] The settlers established various city-states, which were in a constant struggle with each other. Additionnally, the colonists clashed with the amphibious Gungans, who were native to the planet. In that time of conflict, the Grizmalltian—who had become the Naboo—eventually appointed one woman their leader. She accepted the position and title of Queen, but refused to start a hereditary dynasty, decreeing that her people would elect the wisest among them after her death.[1]
Despite the early establishment of a meritocrartic democracy,[1] the Naboo did shift to a dynastic system. KingNarmlé was the earliest known monarch of the line that would eventually be known as the line of kings, a hereditary monarchy solidified in history by King Jafan.
Upon ending the Time of Suffering, Jafan established a unified kingdom at Theed and the Great Time of Peace ensued. The Jafan Dynasty would reign in peace for centuries until the death of Queen Yram, when the citizens of Naboo appointed the first non-hereditary monarch.[source?] Henceforth, the monarch of Naboo remained an elected official, maintaining residence at the Royal Palace in Theed during their four-year terms.