The name Kingdom of Alba pertains to the Kingdom of Scotland between the deaths of Donald II (Domnall mac Causantin) in 900, and of Alexander III in 1286 which then led indirectly to the Scottish Wars of Independence. Little is known about the structure of the Scottish royal court in the period before the coming of the Normans to Scotland, before the reign of David I. A little more is known about the court of the later 12th and 13th centuries. Some of the offices were Gaelic in origin, such as the Hostarius (later Usher or "Doorward"), the man in charge of the royal bodyguard, and the rannaire, the Gaelic-speaking member of the court whose job was to divide the food.
The offices of court included:
- Seneschal or dapifer (i.e. the Steward), had been hereditary since the reign of David I. The Steward had responsibility for the royal household and its management.
- The Chancellor was in charge of the royal chapel. The latter was the king's place of worship, but as it happened, was associated with the royal scribes, responsible for keeping records. Usually, the chancellor was a clergyman, and usually he held this office before being promoted to a bishopric.
- The Chamberlain had control and responsibility over royal finances
- The Constable, likewise, hereditary since the reign of David I. The constable was in charge of the crown's military resources.
- The Marshal or marischal. The marischal differed from the constable in that he was more specialized, responsible for and in charge of the royal cavalry forces.