The first statutory police service in the UK was thought to be formed in Scotland in 1611. These were called the High Constables of Edinburgh. Their duty was to patrol the streets of Edinburgh to prevent crime and bring any perpetrators to justice. Today, High Constables of Edinburgh are still present within a ceremonial function in Scotland.