He was convicted of voluntary homicide and committing acts of terror and sentenced to 21 years in prison.