What is the meaning of Mayor_of_the_palace?

In the Merovingian kingdoms, the king’s steward and, by the 7th century, de facto regent.

Source: wiktionary.org