单项选择题

I()half an hour before she came out of the telephone box and I entered.

A.waited
B.have waited
C.had been waiting
D.was waiting