单项选择题

I had scarcely left the house ______ it began to rain.

A. than
B. when
C. that
D. then