PLEASE ANSWER QUICKLY

Read the excerpt below and answer the question.

There was a surprise attack before they blew up the bridge.

The underlined dependent clause in the sentence above acts as _____.

a noun
an adjective
an adverb
a verb