{
  "url": "https://openlegislation.uk/justices-of-the-peace-act-1979-repealed-1961997/section-45",
  "json_url": "https://openlegislation.uk/justices-of-the-peace-act-1979-repealed-1961997/section-45.json",
  "legislation": "ukpga/1979/55",
  "legislation_title": "Justices of the Peace Act 1979 (repealed 19.6.1997)",
  "legislation_url": "https://openlegislation.uk/justices-of-the-peace-act-1979-repealed-1961997",
  "path": "section/45",
  "kind": "section",
  "number": "45",
  "heading": "Immunity for certain acts beyond jurisdiction.",
  "text": "An action shall lie against any justice of the peace or justice’s clerk in respect of any act or omission of his—\n(a) in the purported execution of his duty—\n(i) as such a justice; or\n(ii) as such a clerk exercising, by virtue of any statutory provision, any of the functions of a single justice; but\n(b) with respect to matter which is not within his jurisdiction,\nif, but only if, it is proved that he acted in bad faith.",
  "extent": "E+W",
  "status": null,
  "version": "current",
  "annotations": [
    {
      "type": "F",
      "label": "F1",
      "text": "S. 45 substituted by Courts and Legal Services Act 1990 (c.41, SIF 76:1, 82), ss. 108(3), 125(6), Sch. 19 para. 16"
    }
  ],
  "outstanding_effects": [],
  "provenance": {
    "source": "legislation.gov.uk",
    "source_url": "https://www.legislation.gov.uk/ukpga/1979/55/section/45",
    "retrieved_at": "2026-10-29T10:17:01.284091+00:00"
  },
  "licence": "Open Government Licence v3.0",
  "licence_url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
  "attribution": "Contains public sector information licensed under the Open Government Licence v3.0. Source: legislation.gov.uk, The National Archives."
}