单项选择题

Richard came home at midnight, ()which time all the guests had left.

A. after
B. by
C. to
D. during