The Counter Reformation in Europe culminated in the murderous, no-holds-barred, Thirty Years War. That war ended with the signing of the Treaty of Westphalia in 1648, and ushered in a period of religious tolerance in Europe that, exclusive of Ireland, lasted for over three hundred years into the 20th Century.
Note that the Treaty of Westphalia also occurred contemporary to, perhaps not coincidentally, the beginning of The (Age of) Enlightenment.
Although Europe would continue to experience a succession of wars over the next few hundred years, these would be of a very different character from those of the 16th and early 17th century - they would no longer be religious wars, and they would be fought for limited ends and with limited means. Not until the 20th Century would the concept of Total War again enter the European mindset.
The religious intolerance and bloodshed of the preceding sesqui-century ended. Some discrimination persisted, but across most of Europe the concept that everyone could adhere to a religion consistent with one's conscience was accepted. It's true that European monarchy's favourite hobby remained warfare - but it was now about politics and personal grandeur instead of religion.
Note here that there are only six heretics burned in Catholic and Protestant European countries post-1648:
- Caterina Tarongí († 1691)
- Kimpa Vita (1684–1706), Angola
- Maria Barbara Carillo (1625–1721), Madrid, Spain
- Gertrude Cordovana († 1724), Palermo, Italy
- Ana de Castro († 1736)
- María de los Dolores López († 1781), Seville, Spain
compared to about 115 in the sesqui-century preceding, and about 34 in the half millennium before that.