单项选择题

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 own folly
D.that I became aware of my own foolishness