单项选择题

Mary said she _______ in this flat for five years.

A.was living
B.has been living
C.lives
D.had been living