单项选择题

When he was in the countryside, he()visit the poor peasants.

A. used to
B. was used to
C. is used to
D. had used to