Which of the phrases given below the sentence should replace the phrase printed in bold type to make it grammatically correct? If the sentence is correct as it is, mark 'E' as the answer.

We met him immediately after the session in which he had been given a nice speech.

A.

would be giving

B.

has been given

C.

will have given

D.

had given

E.

No correction required

Correct answer is D

No explanation has been provided for this answer.