单项选择题

It was not until he arrived at the station ()he realized he had forgotten his ticket.

A. there
B. then
C. that
D. where