单项选择题

The police accused him of setting fire to the building but he denied______in the area on the night of the fire.

A. be
B. to be

C. having been
D. to have been