单项选择题

It was not until the accident happened ______.

A.when I became aware of my foolishness
B.when my foolishness became obvious
C.that did I realize my foolishness
D.that I became aware of my foolishness