Martin Luther was excommunicated by the Pope for not recanting his 95 theses (
luther.de/en/95thesen.html) and other writings.
They wanted to arrest and kill him as a heretic, but he was sheltered by a German prince and eventually his territory became divided politically because of war and they were not able to capture him.
Excerpts from Wikipedia article:
en.wikipedia.org/wiki/Diet_of_Worms
“Prince Frederick III, Elector of Saxony obtained an agreement that if Luther appeared he would be promised safe passage to and from the meeting.” At the Diet, Luther was asked if the
The 95 Theses, Resolutions Concerning the 95 Theses, On the Papacy at Rome, Address to the Christian Nobility, The Babylonian Captivity of the Church, and On the Freedom of a Christian were his writings and if he would reject or recant them.
Martin Luther replied, “Unless I am convinced by the testimony of the Scriptures or by clear reason (for I do not trust either in the pope or in councils alone, since it is well known that they have often erred and contradicted themselves), I am bound by the Scriptures I have quoted and my conscience is captive to the Word of God. I cannot and will not recant anything, since it is neither safe nor right to go against conscience. May God help me. Amen.”
“The Edict of Worms was a decree issued on 25 May 1521 by Emperor Charles V, declaring:
For this reason we forbid anyone from this time forward to dare, either by words or by deeds, to receive, defend, sustain, or favour the said Martin Luther. On the contrary, we want him to be apprehended and punished as a notorious heretic, as he deserves, to be brought personally before us, or to be securely guarded until those who have captured him inform us, whereupon we will order the appropriate manner of proceeding against the said Luther. Those who will help in his capture will be rewarded generously for their good work.”
“Despite the agreement that he could return home safely, it was privately understood that Luther would soon be arrested and punished. To protect him from this fate, Prince Frederick seized him on his way home and hid him in Wartburg Castle.”
“When Luther eventually reemerged from the Wartburg, the emperor, distracted with other matters, did not press for Luther’s arrest. Ultimately, because of rising public support for Luther among the German people and the protection of certain German princes, the Edict of Worms was never enforced in Germany. However, in the Low Countries (comprising modern-day Belgium, Luxembourg, and the Netherlands), the Edict was initially enforced against Luther’s most active supporters…Later that year, additional arrests were made among the Augustinians in Antwerp. Two monks, Johann Esch and Heinrich Voes, refused to recant; on 1 July 1523, they were burned at the stake in Brussels.”