We took a walk in the woods after the rain ended.

What is the function of the clause "after the rain ended" in the sentence?


It is an adjective clause modifying We.

It is an adverb clause modifying took.

It is an adverb clause modifying walk.

It is an adjective clause modifying woods.