Thirty men were sentenced on Saturday to between 10 years and life in prison for planning a suicide bombing on a church in the Egyptian city of Alexandria and other charges, court officials said.

The authorities said at the time of their arrest that the defendants had embraced the ideas of the Islamic State and had received training abroad and in Egypt.

Twenty of the defendants who appeared in court did not react to the sentences, and there was no immediate comment from the lawyers representing them. The other 10 are still on the run and were sentenced in absentia.

The attack on the church did not take place. But minority Christians have faced a series of assaults in Alexandria and other parts of Egypt in recent years.