Under the Merovingian dynasty, the mayor of the palace or majordomo.[1](Latin: maior palatii or maior domus) was the manager of the household of the Frankish king. He was the head of the Merovingian administrative ladder and orchestrated the operation of the entire court. He was appointed by the king from among the magnates, the most powerful families.[2] Austrasia, Neustria and Burgundy had their own mayor of the palace. After Chlothar II, who ruled over the entire Frankish Kingdom, had ordered the execution of Warnachar, the mayor of Burgundy, the magnates of Burgundy declared in 626 not to want their own mayor anymore; see Fredegar IV.54. This declaration marks the effective end of the Burgundian court and the beginning of the Neustrian-Burgundian political alliance against Austrian influence. The Austrian magnates revolted and the Battle of Tertry of 687 became the Austrasian victory with Pepin of Herstal as their leader and the new mayor of the palace.
During the second half of the seventh century, the office evolved into the "power behind the throne". At that time the mayor of the palace held and wielded the real and effective power to make decisions affecting the kingdom, while the kings were increasingly reduced to performing merely ceremonial functions, which made them little more than figureheads (rois fainéants, 'do-nothing kings'). The office may be compared to that of the peshwa, shōgun, sarvadhikari or prime minister, all of which have similarly been the real powers behind some ceremonial monarchs.
In 687, after victory over the western kingdom of Neustria, the Austrasian mayor, Pippin of Herstal, took the title Duke of the Franks to signify his augmented rule. His son and successor, Charles Martel, ruled without elevating a new king during the last four years of his reign (737–741). His sons Carloman and Pepin the Short elevated another Merovingian king, Childeric III, but he was eventually deposed in 751 by Pepin, who was crowned king in his place.
See also Royal Administration of Merovingian and Carolingian Dynasties.
Hereafter the office remained vacant, with Burgundy a separate realm under the King of Neustria and Burgundy. The administration of Burgundy was briefly separate under: