单项选择题

—Was the driving pleasant when you vacationed in Mexico last summer
—No, it()for four days when we arrived, so the roads were very muddy.

A. was raining
B. rained
C. had been raining
D. have rained