He was charged under Sections 66A and 66B of the Sexual Offences Act 2003, which was amended by the Online Safety Act 2023.