Classify the following sentence as simple, compound, or complex.
Input: Jane was at the store already, but she wanted to wait until the rain stopped to go home.
Complex
This sentence is a complex sentence.