单项选择题

It ______ until dusk that he realized that it was too late to return home.

A.was
B.wasn't
C.weren't
D.were