Which of the following did the piece of Augsburg accomplish?

A. It set up the Spanish Inquisition to root out Heresy.

B. It ended the 30 years war.

C. It granted the Netherlands independence from Spain.

D. It allowed German rollers to choose the religion of their states.

D. It allowed German rulers to choose the religion of their states.