单项选择题

It ______ by the end of last year ______ the new student dormitory building had been completed.

A. was … which

B. was … that
C. had been … which
D. had been … that