From their origin in the court of the Dominate, there were several "primicerii" ("primikērioi" in Greek, from the 12th century usually spelled "primmikērioi"). In the court, there was the "primicerius sacri cubiculi" (in Byzantine times the "primikērios" of the "kouboukleion"), in charge of the emperor's bedchamber, almost always a eunuch. The title was also given to court officials in combination with other offices connected to the imperial person, such as the special treasury ("eidikon") or the imperial wardrobe ("vestiarion"). Other "primicerii" headed some of the "scrinia" (departments) of the palace, chiefly the "notarii" or "primicerius notariorum" ("notarioi" or "taboularioi" in Byzantine sources).