The Sheriff of Edinburgh was historically the royal official responsible for enforcing law and order in Edinburgh, Scotland and bringing criminals to justice.
Following mergers of the sheriffdoms it became known as the Sheriff of Midlothian and Haddington in 1872.[1] After further reorganisations it became part of the sheriffdoms of The Lothians in 1881 and The Lothians and Peebles in 1883.