Which type of sentence is this?
As Dan sat down on the rickety old chair, it abruptly collapsed beneath him.
A. simple
B. compound-complex
C. compound
D. complex
Identify the correct option from the choices provided and respond with the letter of the correct option.

D