Original sentence: While primary school ended with the fourth grade and pupils left german basic secondary schools (Volksschule/Hauptschule or Realschule) with the ninth or tenth grade, the Gymnasium did use special terms for its grades:
Edited sentence: While primary school ended with the fourth grade and pupils left German basic secondary schools (Volksschule/Hauptschule or Realschule) with the ninth or tenth grade, the Gymnasium did use special terms for its grades: