单项选择题

It was raining hard, but by the time class was over, the rain __________.

A. stopped
B.would stop
C.had stopped
D.might have stopped