How did the Thirty Years' War influence the development of national identities in Europe?

A. It turned most of Europe against the Catholic Church.
B. It led to the development of Spain as Europe's greatest power.
C. It wiped out most of Europe's Protestant population.
D. It forced kingdoms to establish clear boundaries.