单项选择题

______in Guangzhou for ten years, he knew the City very well.

A.Living
B.To live
C.Lived
D.Having lived