单项选择题

After driving for thirty miles, she suddenly realized that she ______ in the wrong direction.

A.was driving
B.has been driving
C.had been driving
D.drove