Egypt's President Abdel-Fattah el-Sissi says his nation and France are battling the same enemy by waging war against Islamic extremism and terrorism.

He says the crowds who took to the streets of France in the wake of the militant attacks that claimed 17 victims are an extension of the massive 2013 demonstrations against Egypt's former Islamist President Mohammed Morsi. The rallies prompted el-Sissi, then the defense minister, to oust Morsi.

El-Sissi told the World Economic Forum in Davos on Thursday "the struggle is one" and that Islam is a religion of tolerance that should not be viewed through "the acts of criminals and murderers."

He spoke just days before the anniversary of the Jan. 25, 2011 uprising that ousted longtime autocrat Hosni Mubarak.