By the time he at the railway station, the train .
A:had arrived; had left
B:arrived; had left
C:arrived; left
D:had arrived; has left