A Polish priest has been called to account for his actions after wishing an early death on Pope Francis.

Father Edward Staniek, a parish priest in the southern city of Krakow, had apparently been angered by the pope’s call for Catholics to take in Muslim refugees because it was their Christian duty.

In a sermon delivered last month Father Staniek said: “I pray for the Pope in his wisdom to open his heart to the Holy Spirit, but if he does not, I pray for his quick departure to his Father’s house. I can always ask God for a happy death for him because a happy death is a great grace.”

Later in the sermon he said there is “no dialogue” with Muslims, and that the “doors to the diocese and parish are open only to believers in Jesus Christ.”