Finally, he arrives at the class.

(Is this grammatical?)

Yes.