单项选择题

When Jack arrived he learned Mary ______ for almost an hour.

A.had gone
B.had set off
C.had left
D.had been away