CAIRO (AP) — Egypt's former army chief Abdel-Fattah el-Sissi was sworn in on Sunday as president for a four-year term, assuming the highest office of a deeply polarized nation that has been roiled by deadly unrest and an economic crisis since its 2011 uprising.
El-Sissi's inauguration came less than a year after the 59-year-old career infantry officer ousted the country's first freely elected president, the Islamist Mohammed Morsi, following days of mass protests demanding he step down.
El-Sissi took the oath of office before the Supreme Constitutional Court at the tribunal's Nile-side headquarters in a suburb south of Cairo, the same venue where Morsi, now on trial for charges that carry the death penalty, was sworn in two years ago.
The building, designed to look like an ancient Egyptian temple, is a short distance away from a military hospital where ousted president Hosni Mubarak is being held.
Forced out of office after nearly 30 years in power by the 2011 uprising, Mubarak was convicted last month of graft and sentenced to three years in prison. He is also being retried for failing to stop the killing of hundreds of protesters during the 18-day revolt.
Sunday was declared a national holiday for el-Sissi's inauguration and police and troops were deployed throughout Cairo. The somber ceremony was held in a red carpeted hall adorned by red, white and black Egyptian flags and attended by the entire Cabinet as well as el-Sissi's wife and children.
After arriving by helicopter, El-Sissi, in a blue suit and matching tie, entered the hall walking side by side with the outgoing interim president Adly Mansour, who will now return to his post as chief justice of the Supreme Constitutional Court after nearly a year in office.
Outside the building around a hundred el-Sissi supporters waved Egyptian flags and posters of the country's new president. Army pickup trucks fitted with machine-guns were parked nearby and helicopters hovered overhead.
El-Sissi is Egypt's eighth president since the overthrow of the monarchy in 1953, the year after a military coup. With the exception of Morsi and two civilians who served in an interim capacity, all of Egypt's presidents have hailed from the armed forces.
After being sworn in, the president was greeted by a 21-gun salute as he arrived at the presidential palace in the upscale district of Heliopolis on the other side of Cairo. El-Sissi also reviewed a military honor guard.
He welcomed dozens of local and foreign dignitaries, including the kings of Jordan and Bahrain, the emir of Kuwait and the crown princes of Saudi Arabia and Abu Dhabi, in the United Arab Emirates.
The five Arab nations backed el-Sissi's ouster of Morsi, and Saudi Arabia, Kuwait and the Emirates have since provided billions of dollars to shore up Egypt's ailing finances.
El-Sissi won a landslide victory in presidential elections held last month, receiving nearly 97 percent of the vote, with a turnout of 47.45 percent.
The three-day election was declared free of fraud but was tainted by the extraordinary means used by authorities to get the vote out, including a threat to fine those who stayed home, a one-day voting extension, and allowing free rides on trains and buses to encourage voters to travel to their home districts to cast their ballots.
The election was also held against a backdrop of vastly curbed freedoms in the 11 months since Morsi's ouster and a massive crackdown on supporters of his Muslim Brotherhood, hundreds of whom have been killed in clashes with security forces. Morsi's supporters boycotted the vote.
The pro-military media has meanwhile demonized not only the Brotherhood but also secular icons from the 2011 uprising.
El-Sissi's ouster of Morsi on July 3, 2013 made him an instant hero in the eyes of many Egyptians, with supporters viewing him as a strong leader who can restore stability after three years of turmoil.
But Morsi's Islamist backers -- thousands of whom have been jailed since his ouster -- accuse el-Sissi of crushing Egypt's infant democracy, and many of the secular youths behind the 2011 uprising say he has revived Mubarak's police state, pointing to a law passed last year that restricts protests as well as the jailing of a number of well-known activists.
El-Sissi made it clear in a series of media interviews ahead of the May 26-28 vote that his priorities were security and the economy, maintaining that free speech must take a back seat while he fights Islamic militants waging a campaign of violence against the government and works to revive the ailing economy.
But while many in Egypt agree that the fight against militancy comes before everything else, his plans for the economy -- which revolve around a strong state willing to intervene and a call for Egyptians to work harder -- have generated less enthusiasm.
Promising "great leaps," el-Sissi has advocated heavy government involvement in the economy, with state-sponsored mega-projects to create jobs and the government setting prices for some goods. At the same time, he has vowed to be business-friendly and encourage investment.
He has spoken of reshaping the map of Egypt by expanding Nile provinces into the desert to make way for development outside the densely populated river valley. His answer for funding his projects is billions of dollars from oil-rich Gulf nations and Egyptian expatriates.