New Egyptian president Mohammed Morsi has moved first thing into the office once occupied by his ousted predecessor Hosni Mubarak and started work on forming a government.
Mr Morsi swung into action even before he had a clear picture of what he could do after the ruling military stripped most of the major powers from his post.
The country breathed a sigh of relief that at least the question of who won the presidential runoff had been resolved on Sunday after the first free and fair elections in Egypt's modern history. People returned to work a day after a panic that sent many home early for fear that violence might erupt when the winner was announced. Egypt's stock index closed with record gains of 7.5% in a sign of optimism after a president was named.
Mr Morsi, from the fundamentalist Muslim Brotherhood group, is the first Islamist president of Egypt. He defeated Mubarak's last prime minister, Ahmed Shafiq, in a tight race that deeply polarised the nation. Now he faces a daunting struggle for power with the still-dominant military rulers who took over after Mubarak's removal in the uprising.
The 60-year-old, US-trained engineer comes into office knowing little about his authorities and what he can do to resolve security and economic crises and meet the high expectations for the country's first popularly elected leader.
The contours were emerging of a backroom deal between the military and the Brotherhood that led to the ruling military council blessing Mr Morsi as president. One mediator said negotiations are still under way to hammer out political understandings.
Closed-door meetings between Brotherhood members and the ruling generals as well as mediation from different groups, including pro-reform leader Mohammed ElBaradei, were aimed at easing the crisis and defusing a political stalemate.
In his first speech after being named president, Mr Morsi called for national unity and pledged he will be a "president for all Egyptians." In an effort to heal national divisions, he vowed to appoint diverse deputies including a woman and a Christian. He also has reached out to other presidential hopefuls who got significant support in the first round of elections.
His spokesman said Mr Morsi wants to form a national coalition government that will bring in technocrats and representatives of a broad variety of political factions.
Thousands of Morsi supporters, backed by some liberal and secular youth groups who drove the uprising, vowed to press on with their protest in Tahrir Square to pressure the ruling generals to rescind their decrees and reinstate parliament. Tens of thousands spent the night in Tahrir in joyous celebration of his win. But by morning, the crowds had thinned considerably. But Brotherhood officials said the protests will continue until the military responds to their demands.