The remaining officers are related to Scotland's judiciary. The Lord Justice General was originally an important noble, though in the 19th century, the office was combined with that of Lord President of the Court of Session. Now, the Lord Justice General is the head of Scotland's judiciary. The Lord Clerk Register is an officer with miscellaneous functions that included conducting the elections of representative peers and registering births and deaths. The Lord Advocate is at the head of the law offices of Scotland; all prosecutors act in his name. The Lord Justice Clerk serves as a deputy of the Lord Justice General. Finally, the Lord Lyon King of Arms is the sole judge in the Lyon Court, which determines cases relating to heraldry.