Is this sentence simple, compound, complex, or compound-complex?

Jefferson Davis was the political leader of the Confederate States, but Robert E. Lee was the military leader.

compound