How is the underlined pronoun used in the sentence?

They ran up the hill in the heavy rain.



A.
subject complement


B.
object of a preposition


C.
subject


D.
direct object