After the abolition of the Mayor of the Palace, France established seven officers of the crown (ordered by rank): the high constable, the high admiral, the high or great chancellor, the great justiciar, the great chamberlain, the great protonotary, and the great steward or seneschal. These offices were duplicated in the Kingdom of the Two Sicilies and Scotland. By the time of King Malcolm II, the great protonotary was extinct and the great justiciar was replaced by the lord justice general.