The 21-year-old man, who was convicted on terrorism-related offences, said, “I would just like to say that I am sorry.”