单项选择题

I () before I sold it.

A、paints the house
B、had painted the house
C、have been painting the house
D、had been painting the house