单项选择题

No sooner had Tom seen Jim()he left the room.

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