单项选择题

It was only then ______how much trouble I had caused to him.

A.had I realized
B.I did realize
C.that I realized
D.did I realize