を着ていた

was wearing

→ を
phrase Uncommon #15,819
was wearing を marks the item of clothing being worn.
JA: 彼は黒いジャケットを着ていた。
EN: He was wearing a black jacket.

そのパーティーではだれもが美しい着物を着ていた。

Everyone at the party was wearing beautiful kimonos.

メアリーは赤いワンピースを着ていた。

Mary was wearing a red dress.

彼は黒い服を着ていたので、司祭のように見えた。

Because he was dressed in black, he looked like a priest.