Which of the following adds a subordinate clause to the main clause below?

Rochelle ate dinner.
A.
She was hungry; Rochelle ate dinner.
B.
She was so hungry that Rochelle ate dinner.
C.
When she was hungry, Rochelle ate dinner.
D.
She was hungry. Rochelle ate dinner.