I had a chance to go out with a friend who ______ (take) a climb

I had a chance to go out with a friend who ______ (take) a climbing course before he entered the university.
【正确答案】:had taken