单项选择题

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