The Reformation led to the end of that stuff.
No, it lead to massive religious wars. What ended it was the end of theology being used as a source of political legitimacy
When political power no longer depended on being in the favor of the dominant religious powers, there was much less excuse to kill those with disagreeing religious views