Задание

Fill in the gap with the correct form of the verb in brackets.

When I saw him yesterday, he ___ (wear) a hat that he had bought during his trip to Paris.