How is the relative pronoun in the adjective clause used in the sentence?

I ate a snack of almonds, which satisfied my hunger.



A.
object of a preposition


B.
subject


C.
possessive


D.
direct object