单项选择题

The work ______ by the time you got there.

A.had been finished
B.will be finished
C.has been finished
D.was finished