Complex sentence: Each of the "legisti" and the "artisti" had ten classrooms in their respective wings, however only the legisti, who were considered the university's top students, had their classrooms in the main hallway.
Split into simpler sentences: Each of the "legisti" and the "artisti" had ten classrooms on their respective wings. However only the legisti, who were considered the university's first students, had their classrooms in the main hallway.