One of the following sentences contains an independent clause and a dependent clause, which makes it a complex sentence. Which is the complex sentence?

A. I came home; I saw an envelope in the mailbox.
B. After the rain ended, the sky became blue.
C. I hesitated a moment, but her smile gave me courage.
D. Jenny was the largest elephant in the circus.
Is the answer A?

No.