When I reached the station he_____, so we only had time for a fe

When I reached the station he_____, so we only had time for a few words.( )

A.just left

B.had just left

C.was just leaving

D.had been leaving

正确答案是C