Original: But, before that happened, newcomers would do two sessions of military drill and give their oath of loyalty to their commander and Emperor.
Simplified: But, before that happened, newcomers would do two sessions of military drill and give their oath of loyalty to their Commander and Emperor.