How is the underlined pronoun used in the sentence? plz help me on this .And the letter I is the underlined pronoun.

The person who answered the phone was I.



A.
subject


B.
object of a preposition


C.
direct object


D.
subject complement