单项选择题

All the lights ______ before we left the office.

A.has been turned off
B.have turned
C.had been turned off
D.had turned off