单项选择题

()in Hangzhou for more than ten years, he knew the city quite well.>

A.Living
B.Lives
C.Having lived
D.Lived