How is the underlined pronoun used in the sentence?

Before leaving, Donnie borrowed her book for the weekend.









A.
subject







B.
possessive







C.
predicate nominative







D.
object of preposition                     her is underlined