Complex sentence: However, due to the very strict discipline and their difficulties in learning the lessons, the enrolment gradually decreased and only 20 pupils composed the first grade at the end of the school year.
Split into simpler sentences: However, due to the very strict discipline and their difficulties in learning the lessons. The enrolment gradually decreased that only 20 pupils composed the first grade at the end of the school year.