Man convicted of terrorist offense in UK