单项选择题

Not until several months later () I realize how foolish I had been then.

A.have
B.had
C.did
D.do