Mohamed Hersi, 28, a Toronto university graduate who was born in Somalia, became the first Canadian convicted under a new law that penalizes “leaving or attempting to leave Canada” to commit terrorism. Hersi was arrested at the airport in Toronto in 2011 as he was trying to board a one-way flight to Cairo, on his way to join Shabaab in Somalia.