单项选择题

By the time that the guards in the building realized what was happening, the fire ______.

A.had already been put out
B.was put out
C.would have been put out
D.had put out