Hi, There is no difference in the meaning(s) of those sentences. , the action of him studying was in the progress when you went there. He may or may not have continued studying after you reached there.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.