The trainer choreographed a routine that helped them win it. (Underlined word: IT)

Identify the case of the underlined pronoun as well as the antecedent to which it refers.

Aobjective; ambiguous
Bnominative; trainer
Cpossessive; routine
Dobjective; indefinite