Last night I watched the football match and didn’t go to bed ___

Last night I watched the football match and didn’t go to bed ______ 12 o’clock.

A.when

B.until

C.as

D.while

正确答案是B