One of the following sentences contains an independent clause and a dependent clause, which makes it a complex sentence. Which is the complex sentence?
1.After the rain ended, the sky became blue.
2.Jenny was the largest elephant in the circus.
3.I came home; I saw an envelope in the mailbox.
4.I hesitated a moment, but her smile gave me courage.