There is not only the royal family but other noble families that have been guarding and keeping the kingdom for centuries.
The royal city is however backed up by one of the first-tier sects in the whole world called the Heavenly sect. The current king as well as the former kings are all disciples of this sect.
In some sense, it can be regarded that the kingdom is under the rule and protection of the Heavenly Sect. Although the sect doesn't interfere much with the governance, it plays a huge role just like the church does in any country in the modern world where Alayna came from.
The royal family has been in power for over three centuries and so far, five kings had ruled over the kingdom. Some died due to war, some suffered some cultivation backlash and others died due to old age for those whose cultivation wasn't high enough.