Our task had been completed before sunset.

A)
We complete our task before sunset.
B)
We completed our task before sunset.
C)
We have completed our task before sunset.
D)
We had completed our task before sunset.

Correct Answer :   We had completed our task before sunset.