单项选择题

I felt somewhat disappointed and was about to leave,______something occurred which attracted my attention.

A. unless
B. until
C. when
D. while