Use the sentence to answer the question.

When Shawn arrives at work, he hangs his jacket on his chair.

Which grammatical element do the bold words represent?

A. dependent clause

B. independent clause

C. sentence

D. phrase

D. phrase