Mark the letter A, B, C, or D on your answer sheet to indicate the correct answer to each of the following questions.
My grandfather retired from work last month. He _______ for the same company for 40 years.
A.was working
B.had been working
C.has worked
D.had worked