The Court of the Lord Lyon, or Lyon Court, is a standing court of law, based in New Register House in Edinburgh, which regulates heraldry in Scotland. The Lyon Court maintains the register of grants of arms, known as the Public Register of All Arms and Bearings in Scotland, as well as records of genealogies.
The Lyon Court is a public body, and the fees for grants of arms are paid to His Majesty's Treasury. It is headed by the Right Honourable the Lord Lyon King of Arms, who must be legally qualified, as he has criminal jurisdiction in heraldic matters, and the court is fully integrated into the Scottish legal system, including having a dedicated prosecutor, known in Scotland as a procurator fiscal.