Only days after millions poured into the streets of Cairo to protest Mohamed Morsi’s presidency, the military stepped in to remove Egypt’s first democratically elected leader. Backed by widespread popular support, the military suspended the constitution and named Adli Mansour, chief justice of the Supreme Constitutional Court, interim president until fresh elections can be held.

In a Q&A, Nathan J. Brown analyzes Morsi’s fall and the prospects for democracy in Egypt. Brown says that society is far more divided than after the revolution two years ago, making it even harder for leaders to avoid the same mistakes. The transition to democracy must be inclusive and the process of building a new system must be taken seriously.

Is Egypt experiencing a repeat of the revolution against Mubarak in 2011?

In some ways, yes. There is widespread popular mobilization and a military that moves in to depose a president.

There were more demonstrators this time around, but they are a bit less diverse—the Muslim Brotherhood was a victim of this revolution rather than a participant. Society is far more polarized than it was back in the spring of 2011. And this time, the police claim to be on the side of the people.

What were Morsi's failings as president?

Morsi had three stand-out failings.

First, he made a strategic miscalculation—though perhaps an understandable one—when he decided that the opposition would moan and groan but could not really obstruct him. Instead of addressing the people’s concerns, he focused on various parts of the state apparatus by reaching a modus vivendi with the military, placating the security services, outmaneuvering the judges, and attempting to gradually subdue the bureaucracy. He clearly overestimated his ability to play this game and underestimated the opposition.

Second, he was unable—almost constitutionally unable, it seems—to reach Egyptians outside of his base. Even when he tried, his language alienated those he tried to attract.

And third, he handled his final crisis poorly. Morsi had an almost impeccable sense of offering the wrong speech at the wrong time.

Were there other factors that drove people into the streets, precipitating the coup?

In addition to his tactical and strategic flaws, Morsi did not have many policy achievements. For most Egyptians, conditions got worse during his presidency.

Some of this was his fault (he never acted decisively), some was not (he had only imperfect control over the levers of state), and some would have afflicted any president. But after a year in office, most Egyptians blamed Morsi in a startlingly personal way.

Who will be the main decisionmakers in the coming weeks and months?

The military is in the driver’s seat. It has produced a road map for the coming transition that appears to be more of a loophole than an actual text. But behind it seems to be a desire among most civilian actors that the military will manage the process in a way that restores civilian rule. However, there is not any talk right now of reopening the terms set down for the military in the now-suspended 2012 constitution (which gave the military the autonomy it wanted).

The Brotherhood was accused by its critics of cutting a deal with the military. Now those same critics are cutting the same deal. The military will likely remain in control over the short term and lurk in the wings after the constitution is amended and restored.

This is not to say that civilian actors are irrelevant. Those appointed to the cabinet and to the panel to draft constitutional amendments will be critical, but the military has not hinted at any names or indicated how they will be selected.

As elections take place—and the military has promised them quickly—the established non-Islamist groups who lost out to the Brotherhood in past votes may make a comeback. The youth leaders of the Tamarrud (Rebel) campaign that sought Morsi’s ouster will be major players over the longer term as well if they can maintain some level of popular mobilization and devise a political strategy.

And of course there are all kinds of state institutions—the judiciary and the security apparatus—that will likely play a role as well in what happens next.

But the popular coup does not mean that the Muslim Brotherhood is out of the game. Brotherhood leaders can still have an effect on events by deciding whether and in what ways they will resist the coup. Ultimately, however, the Salafis may come out as a long-term winner, using the blow to the Brotherhood to move to the fore in among the Islamist segment of the population.

What do leaders need to do to stabilize the country and build a sustainable democracy?

Egypt can learn from its recent mistakes, though it may not. Leaders need to be inclusive, with a “no victor, no vanquished” approach, take procedural questions more seriously in deciding how to reconstruct the political system, and learn how to manage their differences.

How should the international community react?

This is primarily a domestic struggle, and outside actors are limited in what they can do. If external actors can find a way to deliver a strong message in support of consensual politics and against attempts to suppress the Brotherhood, those would be positive steps.

How will events in Egypt impact other Arab countries?

Over the short term, this will cheer up some and depress others. But Morsi’s fall won’t have much of a direct impact (except on Hamas, which was counting on having a friendly leader in next-door Egypt).

The real impact may be over the longer term. The coup might convince some Islamists that they will never win power through the political process. That would be a dangerous conclusion but not an unexpected one for some groups.