What was the primary goal of the first seven ecumenical councils in the history of Christianity?

A. To create a unified Christian calendar
B. To condemn heresies and excommunicate dissenters
C. To establish a new Christian denomination
D. To reach an orthodox consensus and unify Christendom
Answer: 