BY THE TIME I...THE ROOM, I HAD TURNED OFF ALL THE LIGHTS. A. WAS...

1. By the time I...the room, I had turned off all the lights. A. was leaving B. had left C. left D. have left