Which clause in this sentence is used as an adjective?

When Beowulf arrived, the Danes welcomed him, for they desperately needed someone who could stop Grendel.

AWhen Beowulf arrived
Bthe Danes welcomed him
Cthey desperately needed someone
Dwho could stop Grendel

Verified Answer :

The only sentence here used as an adjective is D) who could stop Grendel. That sentence describes the pronounĀ someoneĀ (not any someone, but someone who could stop Grendel), and therefore it must be an adjective.
A is an adverb clause.
B is an independent sentence.
C is also an independent sentence.