Complex sentence: She was sentenced to two years detention, the judge stated that the courts had to make an example of such youths.
Split into simpler sentences: She was sentenced to two years detention. The judge stated that the courts had to make an example of such youths.