Swearing a False Affidavit is an offence under Section 29 of the Oaths Act 1900 which carries a maximum penalty of 10 years in prison.
To establish the offence, the prosecution must prove beyond reasonable doubt that:
You must be found not guilty if the prosecution is unable to prove any of those ‘elements’.