A sentence is provided in direct speech. From the four given options, choose the one that most accurately conveys the sentence in its corresponding indirect speech.
He said, "How long have you been waiting?"
AHe asked how long had I been waiting.
BHe said how long I was waiting.
CHe asked how long I have been waiting.
DHe asked how long I had been waiting.
