How is the underlined pronoun used in the sentence?

A jolly band of pirates are we.

A.
subject complement

B.
direct object

C.
subject

D.
object of a preposition