单项选择题

Only when he was put in prison,()how silly.

A.he realized
B.did he realize
C.he realize
D.do he realize