How is the underlined pronoun used in the sentence?

(They) ran up the hill in the heavy rain.




A.

object of a preposition



B.

subject



C.

direct object



D.

subject complement


Help ;-;