单项选择题

He was unhappy when he sold his guitar. After all,he______it for a very long time.

A.has had
B.had had
C.has
D.had