Original: While studying such topics as philology and various languages at the University, he worked as a volunteer librarian and was forced to do compulsory military training in the Academic Legion, but he refused to hold or fire a weapon.
Simplified: He did two months military training in the Academic Legion because it was compulsory, but he refused to hold or fire a weapon.