单项选择题

Having (finished) his term paper (before the deadline), (it was delivered) to the profes-sor (before) the class.()

A. finished
B. before the deadline
C. it was delivered
D. before