单项选择题

When we met Mr. Smith last year, he ______ in that school for ten years.

A.taught
B.was teaching
C.had taught
D.would teach