Respuesta :

ceyhan
It should be 'Il etudait quand je suis entrés.' (He was studying when I entered).