Select whether the sentence below is a simple, compound, complex or compound-complex sentence.
 However, when David came to conquer the city with his army, he discovered that the Jebusites got their drinking water from a spring just outside the city walls.
 a.
 Simple
 c.
 Compound-Complex
 b.
 Compound
 d.
 Complex