The Thirty Years' War (1618-1648) involved most European powers and was fought primarily in Germany over religious and dynastic issues. It largely destroyed Germany and resulted in the Peace of Westphalia, which established that German states could determine their own religion and gained independence from the Holy Roman Empire. The war also marked the rise of France as the dominant power in Europe and the establishment of standing armies across the continent.