It was introduced in 2017 and was renewed every three months.

President Abdel Fattah el-Sisi said that the state of emergency in Egypt would be lifted for the first time in many years.

Egypt imposed a state of emergency in April 2017 after a series of bombings in churches and has since regularly extended it every three months, despite an improvement in the security situation.

“Egypt has become… an oasis of security and stability in the region,” al-Sisi wrote on Facebook. “Therefore, for the first time in many years, it was decided to cancel the extension of the state of emergency.”

The state of emergency has given the authorities broad powers to deal with those whom they call enemies of the state. It was used during the suppression of political dissent under al-Sisi, which affected both liberal and Islamist critics.

Egypt’s security forces are also fighting militants linked to the Islamic State in northern Sinai.

Prominent Egyptian activist Hossam Bahgat welcomed the decision, saying it would end the use of emergency courts. However, it would not apply to some high-profile cases already referred to as such courts.