单项选择题

It was______he saw the doctor coming out of the emergeney room with an expression as grave as a judge_______he realized the seriousness of his wife’s illness.

A.notuntil…that
B.after…when
C.until…then
D.before…that