{
  "url": "https://openlegislation.uk/regulation-of-railways-act-1868/section-23",
  "json_url": "https://openlegislation.uk/regulation-of-railways-act-1868/section-23.json",
  "legislation": "ukpga/Vict/31-32/119",
  "legislation_title": "Regulation of Railways Act 1868",
  "legislation_url": "https://openlegislation.uk/regulation-of-railways-act-1868",
  "path": "section/23",
  "kind": "section",
  "number": "23",
  "heading": "Penalty for trespasses on railways.",
  "text": "If any person shall be or pass upon any railway, except for the purpose of crossing the same at any authorized crossing, after having once received warning by the company which works such railway, or by any of their agents or servants, not to go or pass thereon, every person so offending shall forfeit and pay any sum not exceeding level 1 on the standard scale for every such offence.",
  "extent": null,
  "status": null,
  "version": "current",
  "annotations": [
    {
      "type": "F",
      "label": "F1",
      "text": "Words substituted by Regulations of Railways Act 1871 (c. 78), s. 14"
    },
    {
      "type": "F",
      "label": "F2",
      "text": "Words substituted (E.W.S.) by virtue of (E.W.) Criminal Justice Act 1982 (c. 48, SIF 39:1), s. 46 and (S.) Criminal Procedure (Scotland) Act 1975 (c. 21, SIF 39:1), s. 289G"
    }
  ],
  "outstanding_effects": [],
  "provenance": {
    "source": "legislation.gov.uk",
    "source_url": "https://www.legislation.gov.uk/ukpga/Vict/31-32/119/section/23",
    "retrieved_at": "2026-10-29T12:57:12.929767+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."
}