A Calgary man who joined an Islamic State terrorist group in the Middle East was sentenced Wednesday to 16 years in prison.