Law enforcement in the United Kingdom is organised separately in each of the legal systems of the United Kingdom: England and Wales, Northern Ireland and Scotland. Most law enforcement is carried out by police officers serving in regional police services within one of those jurisdictions. These regional services are complemented by UK-wide agencies, such as the National Crime Agency, and specialist units which are part of certain regional police forces, such as the Specialist Operations directorate of the Metropolitan Police.
Police officers are granted certain powers to enable them to execute their duties. Their primary duties are the protection of life and property, preservation of the peace, and prevention and detection of criminal offences. In the British model of policing, officers exercise their powers to police with the implicit consent of the public. "Policing by consent" is the phrase used to describe this. It expresses that the legitimacy of policing in the eyes of the public is based upon a general consensus of support that follows from transparency about their powers, their integrity in exercising those powers and their accountability for doing so.
In the 18th century law enforcement and policing was organised by local communities based on watchmen and constables; the government was not directly involved in policing. The City of Glasgow Police, the first professional police, was established following an Act of Parliament in 1800. London had a population of nearly a million and a half people in the early 19th century but was policed by only 450 constables and 4,500 night watchmen. The concept of professional policing was taken up by Sir Robert Peel when he became Home Secretary in 1822. Peel's Metropolitan Police Act 1829 established a full-time, professional and centrally-organised police force for the greater London area known as the Metropolitan Police. Legislation in the 1830s introduced policing in boroughs and many counties and, in the 1850s, policing was established nationally.
The Peelian Principles describe the philosophy that Sir Robert Peel developed to define an ethical police force. The principles traditionally ascribed to Peel state that: