<akomaNtoso xmlns:uk="https://www.legislation.gov.uk/namespaces/UK-AKN" xmlns:ukl="http://www.legislation.gov.uk/namespaces/legislation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://docs.oasis-open.org/legaldocml/ns/akn/3.0" xsi:schemaLocation="http://docs.oasis-open.org/legaldocml/ns/akn/3.0 http://docs.oasis-open.org/legaldocml/akn-core/v1.0/cos01/part2-specs/schemas/akomantoso30.xsd"><act name="ukpga"><meta><identification source="#"><FRBRWork><FRBRthis value="http://www.legislation.gov.uk/id/ukpga/2023/32"/><FRBRuri value="http://www.legislation.gov.uk/id/ukpga/2023/32"/><FRBRdate date="2023-07-11" name="enacted"/><FRBRauthor href="http://www.legislation.gov.uk/id/legislature/UnitedKingdomParliament"/><FRBRcountry value="GB-UKM"/><FRBRnumber value="32"/><FRBRname value="2023 c. 32"/><FRBRprescriptive value="true"/></FRBRWork><FRBRExpression><FRBRthis value="http://www.legislation.gov.uk/ukpga/2023/32/enacted"/><FRBRuri value="http://www.legislation.gov.uk/ukpga/2023/32/enacted"/><FRBRdate date="2023-07-11" name="enacted"/><FRBRauthor href="#"/><FRBRlanguage language="eng"/></FRBRExpression><FRBRManifestation><FRBRthis value="http://www.legislation.gov.uk/ukpga/2023/32/enacted/data.akn"/><FRBRuri value="http://www.legislation.gov.uk/ukpga/2023/32/enacted/data.akn"/><FRBRdate date="2026-08-12+01:00" name="transform"/><FRBRauthor href="http://www.legislation.gov.uk"/><FRBRformat value="application/akn+xml"/></FRBRManifestation></identification><lifecycle source="#"><eventRef refersTo="#enactment" date="2023-07-11" eId="date-enacted" source="#"/></lifecycle><analysis source="#"><otherAnalysis source=""/></analysis><references source="#"><TLCEvent eId="enactment" href="" showAs="EnactmentDate"/><TLCTerm eId="term-ancillary-offence" href="/ontology/term/uk.ancillary-offence" showAs="ancillary offence"/></references><proprietary xmlns:ukm="http://www.legislation.gov.uk/namespaces/metadata" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dct="http://purl.org/dc/terms/" source="#"><dc:identifier>http://www.legislation.gov.uk/ukpga/2023/32/section/21/enacted</dc:identifier><dc:title>National Security Act 2023</dc:title><dc:publisher>King's Printer of Acts of Parliament</dc:publisher><dc:modified>2024-03-01</dc:modified><ukm:PrimaryMetadata><ukm:DocumentClassification><ukm:DocumentCategory Value="primary"/><ukm:DocumentMainType Value="UnitedKingdomPublicGeneralAct"/><ukm:DocumentStatus Value="final"/></ukm:DocumentClassification><ukm:Year Value="2023"/><ukm:Number Value="32"/><ukm:EnactmentDate Date="2023-07-11"/><ukm:ISBN Value="9780105702160"/><ukm:UnappliedEffects><ukm:UnappliedEffect Modified="2026-07-02T15:51:42Z" AffectedYear="2023" EffectId="key-3610e76db9672426970ce8483bc7d426" Row="694" AffectedProvisions="Sch. 7 para. 8(4)(ea)" AffectingURI="http://www.legislation.gov.uk/id/ukpga/2026/20" AffectingEffectsExtent="E+W+S+N.I." RequiresApplied="true" AffectedNumber="32" URI="http://www.legislation.gov.uk/id/effect/key-3610e76db9672426970ce8483bc7d426" Type="inserted" AffectedClass="UnitedKingdomPublicGeneralAct" AffectingProvisions="s. 239(6)" AffectingClass="UnitedKingdomPublicGeneralAct" AffectingYear="2026" AffectingNumber="20" AffectedURI="http://www.legislation.gov.uk/id/ukpga/2023/32"><ukm:AffectedTitle>National Security Act 2023</ukm:AffectedTitle><ukm:AffectedProvisions><ukm:Section Ref="schedule-7" URI="http://www.legislation.gov.uk/id/ukpga/2023/32/schedule/7">Sch. 7 </ukm:Section><ukm:Section Ref="schedule-7-paragraph-8-4-ea" URI="http://www.legislation.gov.uk/id/ukpga/2023/32/schedule/7/paragraph/8/4/ea" FoundRef="schedule-7-paragraph-8">para. 8(4)(ea)</ukm:Section></ukm:AffectedProvisions><ukm:AffectingTitle>Crime and Policing Act 2026</ukm:AffectingTitle><ukm:AffectingProvisions><ukm:Section Ref="section-239-6" URI="http://www.legislation.gov.uk/id/ukpga/2026/20/section/239/6">s. 239(6)</ukm:Section></ukm:AffectingProvisions><ukm:CommencementAuthority><ukm:Section Ref="section-255-1" URI="http://www.legislation.gov.uk/id/ukpga/2026/20/section/255/1">s. 255(1)</ukm:Section></ukm:CommencementAuthority><ukm:InForceDates><ukm:InForce Applied="false" Prospective="true" Qualification=""/></ukm:InForceDates></ukm:UnappliedEffect><ukm:UnappliedEffect EffectId="key-79ff4715417e843e8ec62b096a06dc5a" AffectingEffectsExtent="E+W+S+N.I." AffectingYear="2026" AffectedClass="UnitedKingdomPublicGeneralAct" AffectedNumber="32" AffectingURI="http://www.legislation.gov.uk/id/ukpga/2026/20" Row="695" AffectingNumber="20" AffectingClass="UnitedKingdomPublicGeneralAct" AffectingProvisions="s. 239(7)" AffectedProvisions="Sch. 7 para. 8(4A)" URI="http://www.legislation.gov.uk/id/effect/key-79ff4715417e843e8ec62b096a06dc5a" Modified="2026-07-02T15:51:42Z" Type="inserted" RequiresApplied="true" AffectedURI="http://www.legislation.gov.uk/id/ukpga/2023/32" AffectedYear="2023"><ukm:AffectedTitle>National Security Act 2023</ukm:AffectedTitle><ukm:AffectedProvisions><ukm:Section Ref="schedule-7" URI="http://www.legislation.gov.uk/id/ukpga/2023/32/schedule/7">Sch. 7 </ukm:Section><ukm:Section Ref="schedule-7-paragraph-8-4A" URI="http://www.legislation.gov.uk/id/ukpga/2023/32/schedule/7/paragraph/8/4A" FoundRef="schedule-7-paragraph-8">para. 8(4A)</ukm:Section></ukm:AffectedProvisions><ukm:AffectingTitle>Crime and Policing Act 2026</ukm:AffectingTitle><ukm:AffectingProvisions><ukm:Section Ref="section-239-7" URI="http://www.legislation.gov.uk/id/ukpga/2026/20/section/239/7">s. 239(7)</ukm:Section></ukm:AffectingProvisions><ukm:CommencementAuthority><ukm:Section Ref="section-255-1" URI="http://www.legislation.gov.uk/id/ukpga/2026/20/section/255/1">s. 255(1)</ukm:Section></ukm:CommencementAuthority><ukm:InForceDates><ukm:InForce Applied="false" Prospective="true" Qualification=""/></ukm:InForceDates></ukm:UnappliedEffect><ukm:UnappliedEffect AffectingEffectsExtent="E+W+S+N.I." EffectId="key-c43e75ece173ae95bd11fe6ef8502d1e" Row="696" AffectingYear="2026" URI="http://www.legislation.gov.uk/id/effect/key-c43e75ece173ae95bd11fe6ef8502d1e" AffectedNumber="32" AffectedYear="2023" AffectedProvisions="Sch. 7 para. 8(7)(8)" AffectingURI="http://www.legislation.gov.uk/id/ukpga/2026/20" RequiresApplied="true" Modified="2026-07-02T15:51:42Z" AffectedClass="UnitedKingdomPublicGeneralAct" AffectingClass="UnitedKingdomPublicGeneralAct" Type="inserted" AffectedURI="http://www.legislation.gov.uk/id/ukpga/2023/32" AffectingProvisions="s. 239(8)" AffectingNumber="20"><ukm:AffectedTitle>National Security Act 2023</ukm:AffectedTitle><ukm:AffectedProvisions><ukm:Section Ref="schedule-7" URI="http://www.legislation.gov.uk/id/ukpga/2023/32/schedule/7">Sch. 7 </ukm:Section><ukm:Section Ref="schedule-7-paragraph-8-7" URI="http://www.legislation.gov.uk/id/ukpga/2023/32/schedule/7/paragraph/8/7" FoundRef="schedule-7-paragraph-8">para. 8(7)</ukm:Section><ukm:Section Ref="schedule-7-paragraph-8-8" URI="http://www.legislation.gov.uk/id/ukpga/2023/32/schedule/7/paragraph/8/8" FoundRef="schedule-7-paragraph-8">(8)</ukm:Section></ukm:AffectedProvisions><ukm:AffectingTitle>Crime and Policing Act 2026</ukm:AffectingTitle><ukm:AffectingProvisions><ukm:Section Ref="section-239-8" URI="http://www.legislation.gov.uk/id/ukpga/2026/20/section/239/8">s. 239(8)</ukm:Section></ukm:AffectingProvisions><ukm:CommencementAuthority><ukm:Section Ref="section-255-1" URI="http://www.legislation.gov.uk/id/ukpga/2026/20/section/255/1">s. 255(1)</ukm:Section></ukm:CommencementAuthority><ukm:InForceDates><ukm:InForce Applied="false" Prospective="true" Qualification=""/></ukm:InForceDates></ukm:UnappliedEffect></ukm:UnappliedEffects></ukm:PrimaryMetadata><ukm:Notes><ukm:Note IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/notes"/><ukm:Alternatives><ukm:Alternative URI="http://www.legislation.gov.uk/ukpga/2023/32/pdfs/ukpgaen_20230032_en.pdf" Date="2023-09-13" Title="Explanatory Note" Size="1727804"/></ukm:Alternatives></ukm:Notes><ukm:Alternatives><ukm:Alternative URI="http://www.legislation.gov.uk/ukpga/2023/32/pdfs/ukpga_20230032_en.pdf" Date="2023-07-18" Size="2829817" Print="true"/></ukm:Alternatives><ukm:Statistics><ukm:TotalParagraphs Value="357"/><ukm:BodyParagraphs Value="107"/><ukm:ScheduleParagraphs Value="250"/><ukm:AttachmentParagraphs Value="0"/><ukm:TotalImages Value="0"/></ukm:Statistics></proprietary></meta><body><part eId="part-1"><num>Part 1</num><heading>Espionage, sabotage and persons acting for foreign powers</heading><hcontainer name="crossheading" ukl:Name="Pblock" eId="part-1-crossheading-acting-for-foreign-power-as-aggravating-factor-in-sentencing"><heading>Acting for foreign power as aggravating factor in sentencing</heading><section eId="section-21" uk:target="true"><num>21</num><heading>Aggravating factor where foreign power condition met: Scotland</heading><subsection eId="section-21-1"><num>(1)</num><intro><p><ref href="#section-21">This section</ref> applies where in Scotland, in relation to a relevant offence, it is—</p></intro><level class="para1" eId="section-21-1-a"><num>(a)</num><content><p>libelled in an indictment, and</p></content></level><level class="para1" eId="section-21-1-b"><num>(b)</num><content><p>proved,</p></content></level><wrapUp><p>that the offence has been aggravated by reason of the foreign power condition being met in relation to the conduct that constitutes the offence.</p></wrapUp></subsection><subsection eId="section-21-2"><num>(2)</num><content><p>Where <ref href="#section-21">this section</ref> applies, the court must take the aggravation into account in determining the appropriate sentence.</p></content></subsection><subsection eId="section-21-3"><num>(3)</num><content><p>Where the sentence imposed by the court in respect of the offence is different from that which the court would have imposed if the offence had not been aggravated by reason of being an offence within <ref href="#section-21-1">subsection (1)</ref>, the court must state the extent of, and the reasons for, the difference.</p></content></subsection><subsection eId="section-21-4"><num>(4)</num><content><p>Evidence from a single source is sufficient to prove that an offence has been aggravated by reason of the foreign power condition being met in relation to conduct which constitutes the offence.</p></content></subsection><subsection eId="section-21-5"><num>(5)</num><intro><p>A “relevant offence” is an offence that—</p></intro><level class="para1" eId="section-21-5-a"><num>(a)</num><content><p>is committed on or after the day on which <ref href="#section-21">this section</ref> comes into force, and</p></content></level><level class="para1" eId="section-21-5-b"><num>(b)</num><content><p>is not an offence listed in <ref href="#section-21-6">subsection (6)</ref>.</p></content></level></subsection><subsection eId="section-21-6"><num>(6)</num><intro><p>Those offences are—</p></intro><level class="para1" eId="section-21-6-a"><num>(a)</num><content><p>an offence under this Act or an ancillary offence in relation to any such offence;</p></content></level><level class="para1" eId="section-21-6-b"><num>(b)</num><content><p>a relevant electoral offence (within the meaning given by section <ref href="#">16</ref>).</p></content></level></subsection><subsection eId="section-21-7"><num>(7)</num><intro><p>An “<term refersTo="#term-ancillary-offence" eId="term-ancillary-offence">ancillary offence</term>”, in relation to an offence, means any of the following—</p></intro><level class="para1" eId="section-21-7-a"><num>(a)</num><content><p>being art and part in the commission of the offence;</p></content></level><level class="para1" eId="section-21-7-b"><num>(b)</num><content><p>inciting a person to commit the offence;</p></content></level><level class="para1" eId="section-21-7-c"><num>(c)</num><content><p>attempting or conspiring to commit the offence.</p></content></level></subsection><subsection eId="section-21-8"><num>(8)</num><content><p>Where an offence is found to have been committed over a period of 2 or more days, or at some time during a period of 2 or more days, it must be taken for the purposes of <ref href="#section-21-5">subsection (5)</ref><ref href="#section-21-5-a">(a)</ref> to have been committed on the first of those days.</p></content></subsection></section></hcontainer></part></body></act></akomaNtoso>