The Wars of Religion in France from 1560-1648 and the Thirty Years War from 1618-1648 were both devastating religious conflicts that weakened the power of royal authority in Europe and left the continent divided. The Wars of Religion in France established the Bourbon dynasty and granted Huguenots limited religious rights through the Edict of Nantes. The Thirty Years War ended with the Peace of Westphalia, which established principles of state sovereignty and religious tolerance while curtailing Habsburg power in the Holy Roman Empire. Both conflicts caused widespread death, economic ruin, and political fragmentation across Europe.