The Primicerio was the head priest of the Basilica di San Marco, in its function as palace chapel. He was appointed directly by the doge.