What type of sentence is this: "When the bell rang, the students hurried to their classes."

Compound sentence.

Complex sentence.

Simple sentence.

Compound Complex sentence.

Simple sentence.