Complex sentence: In early 2002 he was convicted and sentenced to six years of imprisonment, but released because he had spent nine years in detention already waiting for his trial.
Split into simpler sentences: In early 2002 he was convicted and sentenced to six years of imprisonment. Therefore, he was released because he had spent nine years in detention already waiting for his trial.