Which of the following is a complex sentence?
A. She was invited to the party, but she had already made other plans.
B. He wasn't hungry because he had a late lunch.
C. The dog followed her around the apartment all day long.
D. Initially, the conference seemed unimportant, but he was glad he attended