Is this a compound complex sentence?

Because he was thirsty, he went to the fountain, and he got a mouthful of water.