<Legislation xmlns="http://www.legislation.gov.uk/namespaces/legislation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32" NumberOfProvisions="357" xsi:schemaLocation="http://www.legislation.gov.uk/namespaces/legislation http://www.legislation.gov.uk/schema/legislation.xsd" SchemaVersion="2.0"><ukm:Metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dct="http://purl.org/dc/terms/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:ukm="http://www.legislation.gov.uk/namespaces/metadata">
					<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>
					
					<atom:link rel="self" href="http://www.legislation.gov.uk/ukpga/2023/32/section/21/enacted/data.xml" type="application/xml"/><atom:link rel="http://www.legislation.gov.uk/def/navigation/resources" href="http://www.legislation.gov.uk/ukpga/2023/32/resources" title="More Resources"/>
					
					<atom:link rel="http://www.legislation.gov.uk/def/navigation/notes" href="http://www.legislation.gov.uk/ukpga/2023/32/notes" title="Explanatory Notes"/><atom:link rel="http://www.legislation.gov.uk/def/navigation/notes/toc" href="http://www.legislation.gov.uk/ukpga/2023/32/notes/contents" title="Explanatory Notes Table of Contents"/>
					
					<atom:link rel="http://www.legislation.gov.uk/def/navigation/act" href="http://www.legislation.gov.uk/ukpga/2023/32/enacted" title="whole act"/><atom:link rel="http://www.legislation.gov.uk/def/navigation/introduction" href="http://www.legislation.gov.uk/ukpga/2023/32/introduction/enacted" title="introduction"/>
					<atom:link rel="http://www.legislation.gov.uk/def/navigation/body" href="http://www.legislation.gov.uk/ukpga/2023/32/body/enacted" title="body"/>
					<atom:link rel="http://www.legislation.gov.uk/def/navigation/schedules" href="http://www.legislation.gov.uk/ukpga/2023/32/schedules/enacted" title="schedules"/>
					
										
					
					
					
					<atom:link rel="alternate" type="application/rdf+xml" href="http://www.legislation.gov.uk/ukpga/2023/32/section/21/enacted/data.rdf" title="RDF/XML"/><atom:link rel="alternate" type="application/akn+xml" href="http://www.legislation.gov.uk/ukpga/2023/32/section/21/enacted/data.akn" title="AKN"/><atom:link rel="alternate" type="application/xhtml+xml" href="http://www.legislation.gov.uk/ukpga/2023/32/section/21/enacted/data.xht" title="HTML snippet"/><atom:link rel="alternate" type="text/html" href="http://www.legislation.gov.uk/ukpga/2023/32/section/21/enacted/data.htm" title="Website (XHTML) Default View"/><atom:link rel="alternate" type="text/csv" href="http://www.legislation.gov.uk/ukpga/2023/32/section/21/enacted/data.csv" title="CSV"/><atom:link rel="alternate" type="application/pdf" href="http://www.legislation.gov.uk/ukpga/2023/32/section/21/enacted/data.pdf" title="PDF"/>
					<atom:link rel="alternate" type="application/akn+xhtml" href="http://www.legislation.gov.uk/ukpga/2023/32/section/21/enacted/data.html" title="HTML5 snippet"/>

					
					<atom:link rel="http://purl.org/dc/terms/tableOfContents" hreflang="en" href="http://www.legislation.gov.uk/ukpga/2023/32/contents/enacted" title="Table of Contents"/>
					
					<atom:link rel="http://purl.org/dc/terms/hasVersion" href="http://www.legislation.gov.uk/ukpga/2023/32/section/21/2023-12-20" title="2023-12-20"/><atom:link rel="http://purl.org/dc/terms/hasVersion" href="http://www.legislation.gov.uk/ukpga/2023/32/section/21/2026-07-08" title="2026-07-08"/><atom:link rel="http://purl.org/dc/terms/hasVersion" href="http://www.legislation.gov.uk/ukpga/2023/32/section/21" title="current"/>
					
					<atom:link rel="up" href="http://www.legislation.gov.uk/ukpga/2023/32/enacted" title="Entire legislation"/><atom:link rel="prev" href="http://www.legislation.gov.uk/ukpga/2023/32/section/20/enacted" title="Provision; Section 20"/><atom:link rel="prevInForce" href="http://www.legislation.gov.uk/ukpga/2023/32/section/20/enacted" title="Provision; Section 20"/><atom:link rel="next" href="http://www.legislation.gov.uk/ukpga/2023/32/section/22/enacted" title="Provision; Section 22"/><atom:link rel="nextInForce" href="http://www.legislation.gov.uk/ukpga/2023/32/section/22/enacted" title="Provision; Section 22"/>
					<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 URI="http://www.legislation.gov.uk/id/effect/key-3610e76db9672426970ce8483bc7d426" EffectId="key-3610e76db9672426970ce8483bc7d426" Row="694" AffectingNumber="20" AffectedURI="http://www.legislation.gov.uk/id/ukpga/2023/32" AffectedProvisions="Sch. 7 para. 8(4)(ea)" RequiresApplied="true" AffectedNumber="32" AffectingYear="2026" AffectedClass="UnitedKingdomPublicGeneralAct" AffectingEffectsExtent="E+W+S+N.I." AffectedYear="2023" AffectingURI="http://www.legislation.gov.uk/id/ukpga/2026/20" AffectingClass="UnitedKingdomPublicGeneralAct" Modified="2026-07-02T15:51:42Z" AffectingProvisions="s. 239(6)" Type="inserted"><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 AffectedNumber="32" AffectedURI="http://www.legislation.gov.uk/id/ukpga/2023/32" AffectingNumber="20" Row="695" AffectingProvisions="s. 239(7)" AffectedYear="2023" AffectedProvisions="Sch. 7 para. 8(4A)" URI="http://www.legislation.gov.uk/id/effect/key-79ff4715417e843e8ec62b096a06dc5a" AffectingClass="UnitedKingdomPublicGeneralAct" AffectingEffectsExtent="E+W+S+N.I." Type="inserted" Modified="2026-07-02T15:51:42Z" EffectId="key-79ff4715417e843e8ec62b096a06dc5a" RequiresApplied="true" AffectedClass="UnitedKingdomPublicGeneralAct" AffectingYear="2026" AffectingURI="http://www.legislation.gov.uk/id/ukpga/2026/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-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 AffectingClass="UnitedKingdomPublicGeneralAct" AffectingURI="http://www.legislation.gov.uk/id/ukpga/2026/20" AffectingEffectsExtent="E+W+S+N.I." RequiresApplied="true" AffectedClass="UnitedKingdomPublicGeneralAct" Type="inserted" AffectingYear="2026" Row="696" URI="http://www.legislation.gov.uk/id/effect/key-c43e75ece173ae95bd11fe6ef8502d1e" AffectedURI="http://www.legislation.gov.uk/id/ukpga/2023/32" AffectedYear="2023" AffectedProvisions="Sch. 7 para. 8(7)(8)" Modified="2026-07-02T15:51:42Z" EffectId="key-c43e75ece173ae95bd11fe6ef8502d1e" AffectingNumber="20" AffectingProvisions="s. 239(8)" AffectedNumber="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-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>
				</ukm:Metadata><Primary><Body DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/body/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/body" NumberOfProvisions="107"><Part DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/part/1/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/part/1" NumberOfProvisions="40" id="part-1"><Number>Part 1</Number><Title>Espionage, sabotage and persons acting for foreign powers</Title><Pblock DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/part/1/crossheading/acting-for-foreign-power-as-aggravating-factor-in-sentencing/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/part/1/crossheading/acting-for-foreign-power-as-aggravating-factor-in-sentencing" NumberOfProvisions="5" id="part-1-crossheading-acting-for-foreign-power-as-aggravating-factor-in-sentencing"><Title>Acting for foreign power as aggravating factor in sentencing</Title><P1group><Title>Aggravating factor where foreign power condition met: Scotland</Title><P1 DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21" id="section-21">
                     <Pnumber>21</Pnumber>
                     <P1para>
                        <P2 DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/1/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/1" id="section-21-1">
                           <Pnumber>1</Pnumber>
                           <P2para>
                              <Text><InternalLink Ref="section-21" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21" DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/enacted">This section</InternalLink> applies where in Scotland, in relation to a relevant offence, it is—</Text>
                              <P3 DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/1/a/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/1/a" id="section-21-1-a">
                                 <Pnumber>a</Pnumber>
                                 <P3para>
                                    <Text>libelled in an indictment, and</Text>
                                 </P3para>
                              </P3>
                              <P3 DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/1/b/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/1/b" id="section-21-1-b">
                                 <Pnumber>b</Pnumber>
                                 <P3para>
                                    <Text>proved,</Text>
                                 </P3para>
                              </P3>
                              <Text>that the offence has been aggravated by reason of the foreign power condition being met in relation to the conduct that constitutes the offence.</Text>
                           </P2para>
                        </P2>
                        <P2 DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/2/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/2" id="section-21-2">
                           <Pnumber>2</Pnumber>
                           <P2para>
                              <Text>Where <InternalLink Ref="section-21" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21" DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/enacted">this section</InternalLink> applies, the court must take the aggravation into account in determining the appropriate sentence.</Text>
                           </P2para>
                        </P2>
                        <P2 DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/3/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/3" id="section-21-3">
                           <Pnumber>3</Pnumber>
                           <P2para>
                              <Text>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 <InternalLink Ref="section-21-1" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/1" DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/1/enacted">subsection (1)</InternalLink>, the court must state the extent of, and the reasons for, the difference.</Text>
                           </P2para>
                        </P2>
                        <P2 DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/4/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/4" id="section-21-4">
                           <Pnumber>4</Pnumber>
                           <P2para>
                              <Text>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.</Text>
                           </P2para>
                        </P2>
                        <P2 DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/5/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/5" id="section-21-5">
                           <Pnumber>5</Pnumber>
                           <P2para>
                              <Text>A “relevant offence” is an offence that—</Text>
                              <P3 DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/5/a/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/5/a" id="section-21-5-a">
                                 <Pnumber>a</Pnumber>
                                 <P3para>
                                    <Text>is committed on or after the day on which <InternalLink Ref="section-21" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21" DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/enacted">this section</InternalLink> comes into force, and</Text>
                                 </P3para>
                              </P3>
                              <P3 DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/5/b/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/5/b" id="section-21-5-b">
                                 <Pnumber>b</Pnumber>
                                 <P3para>
                                    <Text>is not an offence listed in <InternalLink Ref="section-21-6" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/6" DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/6/enacted">subsection (6)</InternalLink>.</Text>
                                 </P3para>
                              </P3>
                           </P2para>
                        </P2>
                        <P2 DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/6/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/6" id="section-21-6">
                           <Pnumber>6</Pnumber>
                           <P2para>
                              <Text>Those offences are—</Text>
                              <P3 DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/6/a/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/6/a" id="section-21-6-a">
                                 <Pnumber>a</Pnumber>
                                 <P3para>
                                    <Text>an offence under this Act or an ancillary offence in relation to any such offence;</Text>
                                 </P3para>
                              </P3>
                              <P3 DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/6/b/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/6/b" id="section-21-6-b">
                                 <Pnumber>b</Pnumber>
                                 <P3para>
                                    <Text>a relevant electoral offence (within the meaning given by section <InternalLink Ref="section-16" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/16" DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/16/enacted">16</InternalLink>).</Text>
                                 </P3para>
                              </P3>
                           </P2para>
                        </P2>
                        <P2 DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/7/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/7" id="section-21-7">
                           <Pnumber>7</Pnumber>
                           <P2para>
                              <Text>An “<Term id="term-ancillary-offence">ancillary offence</Term>”, in relation to an offence, means any of the following—</Text>
                              <P3 DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/7/a/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/7/a" id="section-21-7-a">
                                 <Pnumber>a</Pnumber>
                                 <P3para>
                                    <Text>being art and part in the commission of the offence;</Text>
                                 </P3para>
                              </P3>
                              <P3 DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/7/b/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/7/b" id="section-21-7-b">
                                 <Pnumber>b</Pnumber>
                                 <P3para>
                                    <Text>inciting a person to commit the offence;</Text>
                                 </P3para>
                              </P3>
                              <P3 DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/7/c/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/7/c" id="section-21-7-c">
                                 <Pnumber>c</Pnumber>
                                 <P3para>
                                    <Text>attempting or conspiring to commit the offence.</Text>
                                 </P3para>
                              </P3>
                           </P2para>
                        </P2>
                        <P2 DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/8/enacted" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/8" id="section-21-8">
                           <Pnumber>8</Pnumber>
                           <P2para>
                              <Text>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 <InternalLink Ref="section-21-5" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/5" DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/5/enacted">subsection (5)</InternalLink><InternalLink Ref="section-21-5-a" IdURI="http://www.legislation.gov.uk/id/ukpga/2023/32/section/21/5/a" DocumentURI="http://www.legislation.gov.uk/ukpga/2023/32/section/21/5/a/enacted">(a)</InternalLink> to have been committed on the first of those days.</Text>
                           </P2para>
                        </P2>
                     </P1para>
                  </P1></P1group></Pblock></Part></Body></Primary></Legislation>