Much to my surprise, it _____ raining by the time I wanted to go out. 
#99903
A
had stopped
B
has stopped
C
stopped
D
stop