when [I/he/she] was a student
Ela me mostrou uma foto de sua mãe quando era estudante.
She showed me a picture of her mother when she was a student.
Eu escrevia um diário em francês quando era estudante.
I used to keep a diary in French when I was a student.
Eu jogava tênis quando era estudante.
I used to play tennis when I was a student.
Quando era estudante, ela foi à discoteca somente uma vez.
When she was a student, she only went to the disco once.
Me formei em história europeia quando era estudante universitário.
I graduated with a degree in European history when I was a university student.
Conheci-o quando era estudante.
I met him when I was a student.