Select the correct answer.
What kind of word is the pronoun in bold letters?

It was he who lost the check.

A.
Subject
B.
Direct object
C.
Predicate nominative