what was the main purpose of the congress of vienna

A) unify italy and legitimacy
B) unify germany and contain france
C) restore the power of the catholic church
D) establish a power of balance in europe and legitimacy