Revolutions have a way of going in unexpected directions, the 19th century political philosopher Friedrich Engels once noted.

The morning after, he said, people realize “the revolution they made was nothing like the one they had wanted to make.”

His words seem especially on target for the protests that became known as the Arab Spring.

Seven years ago, a wave of protests swept across the Middle East and North Africa. The unrest fueled revolutions and leadership changes in a number of countries. Yet none have met the hopes of the revolutionaries. Many of the demonstrators were average citizens simply seeking change and an escape from corruption.

Anti-government protesters shout during a rally organized by the 20th February, the Moroccan Arab Spring movement in Casablanca, Morocco, Sunday, Nov 20, 2011, in a mass popular call to bring more democracy into this North African kingdom.

Nor has the Arab spring met the expectations of Western observers and those who expressed support for the protests.

The Arab spring once was celebrated in Western capitals and motivated many young Arabs. Yet within months, the unrest turned ugly and regrettable. It wrecked the hopes of those who believed that overthrowing dictators and holding elections would lead to improvements and end political repression.

Attack in Benghazi

For the West, the first real event of concern was when jihadist militants attacked the United States diplomatic office and a nearby intelligence center in Benghazi, Libya. The attack resulted in the deaths of four Americans. One of those killed, the U.S. ambassador to Libya Christopher Stevens, was a supporter of the Arab Spring.

That attack showed how unruly the Middle East had become and how easily jihadists could create unrest.

Many Arabs did not like what they were seeing. They had hoped the Arab Spring would lead to greater personal freedoms and improved living conditions.

The U.S. Consulate in Benghazi is seen in flames during a protest by an armed group said to have been protesting a film being produced in the United States September 11, 2012.

Egypt

In Egypt, an authoritarian Islamist government angered both progressives and supporters of former ruler Hosni Mubarak. The army ousted the country’s Islamist president, replacing him with General Abdel Fattah El-Sissi, who acted a lot like Mubarak.

El-Sissi ordered the arrest of a former army general who planned to compete against him in Egypt’s next presidential election. The former general is the fourth possible candidate to be detained in what appears to be a state campaign to drive would-be opponents from the race.

Egypt watchers say El-Sissi and his allies appear firm about wanting a trouble-free vote. Activists say such an election would be an insult to the 2011 demonstrations.

FILE - Egyptian President Abdel-Fattah el-Sissi speaks to Azhar clerics and top government officials in Cairo, Egypt, Dec. 8, 2016.

Unrest in Libya, Yemen, and Syria

Seven years have passed since Libyans ousted Colonel Moammar Gadhafi as the country’s leader. Since then, a series of prime ministers have failed in their efforts to establish order and reduce the power of ideological and town-based militias. Fighters allied with the Islamic State group have seized territory along Libya’s coast. They have executed their enemies and Christians.

Yemen’s political unrest has led to civil war, starvation and empowered extremists. Opposing sides have appealed to outside powers, such as Saudi Arabia and Iran, for help.

In Syria, the government’s repression of non-violent reform protests gave way to an armed rebellion. The unrest led to the intervention of foreign powers, including Russia, the United States, Iran, Saudi Arabia, Turkey and Qatar. The Syrian conflict was quickly distorted by the rise of the Islamic State group and clashes between Islamists and moderates. With hundreds of thousands of people dead, there is still no end in sight to the fighting.

With the collapse of governments and the break-up of Arab states, religious leaders and extremists filled the void. Progressives and moderates were unprepared to deal with the situation and Western countries lost hope, observers say.

FILE - People gather to collect food rations at a food distribution center in Sana'a, Yemen, March 21, 2017.

What did go wrong?

John Bradley wrote the book After the Arab Spring: How Islamists Hijacked the Middle East Revolts. He argued early on the West and progressive Arabs were guilty of wishful thinking and too quick to praise the roots of the Arab Spring.

Others believed the Arab Spring could have ended differently. Matthew Partridge wrote a critique of Bradley’s book. He noted “America and Europe need to lead from the front – not from behind.”

Another observer, Bill Lawrence, has said the West was as much an onlooker as a player in the Arab Spring. Lawrence once worked at the International Crisis Group, a New York- and Brussels-based research organization. He argues that “a big mix of forces came together in the region to express rage over hopeless economics, corruption and abusive government.”

Population studies of the Middle East suggest that one cause of the unrest, jobless young men, will long remain. All the Arab spring countries share at least two things. They have young populations and they are unable to create jobs.

The birthplace of the Arab Spring, Tunisia, has been able to make a relatively peaceful move from authoritarian rule to a working democracy.

But this month and in December, new economic reform measures, with higher prices for foods fuel and energy, led to street protests. Police and protesters clashed. Some of the demonstrators came from a youth movement called Fesh Nestannew, which means “What are we waiting for?”.