When I reached the station he___, so we only had time for a few

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