How to say in Czech: I got to know him when I was a student.

English
I got to know when I was a student.
Czech
Seznámil jsem se s ním, když jsem byl student.