bailie vs mayor of the palace

bailie

noun
  • The chief magistrate of a Scottish barony or part of a county, with functions like a sheriff's. 

  • A bailiff. 

  • A municipal officer in Scotland corresponding to an English alderman. 

mayor of the palace

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

How often have the words bailie and mayor of the palace occurred in a corpus of books? (source: Google Ngram Viewer )