Egypt’s bourse, which closed a month ago when nationwide anti-regime protests erupted, said on Thursday it would announce resumption of trading after discussions with the new prime minister.

Strongman Mubarak appointed Shafiq in the dying days of his rule in a bid to quell the protests. Shafiq stayed on as head of a caretaker government under a military council that has run Egypt since Mubarak stood down.

“The Supreme Council of Military Forces announces that it has accepted the resignation of Prime Minister Ahmed Shafiq,” the council said in a statement, without giving reasons for the move.

Dozens of youth activists who are still camped out in Tahrir Square celebrated after Shafiq’s resignation was announced, the state news agency MENA reported.

Since the fall of Mubarak, protesters have continued to call for a replacement of the current government, which includes the Mubarak-era foreign minister, interior minister and justice minister.

The activists had put forward Sharaf’s name during talks with the military on Sunday during which they also called for rapid, profound changes towards democracy.

“We are happy, we had proposed his name and our demand has been accepted,” Shadi al-Ghazali, one of the leaders of the youth movement, told AFP.

Key opposition figure Mohamed ElBaradei, who headed the Vienna-based UN International Atomic Energy Agency from 1997 to 2009 and returned to Egypt join the protests, welcomed Shafiq’s resignation.

On Twitter, he said: “We are on the right track, I express my sincere appreciation to the Supreme Council of Armed Forces who have accepted the demand of the people.”

The military council had previously ordered the government to run the country’s affairs for six months “or until the end of parliamentary and presidential elections” and is also examining constitutional reforms.

Shafiq, a former aviation minister with ties to the military, had been expected to stay in office at least until the elections.

His successor, Sharaf, a professor of engineering at Cairo University, was transport minister from 2002 to 2005 and was sacked amid differences with then-premier Ahmad Nazif.

Nazif was himself sacked four days after the anti-Mubarak protests erupted on January 25.

Meanwhile, the stock exchange said on Thursday it would remain closed indefinitely.

“Due to the latest developments in Egypt, (Egypt’s stock exchange) EGX decided to suspend trading next Sunday, 6th of March,” the bourse said in a statement. The stock exchange, which closed on January 27, was due to re-open Sunday.

“Resuming of trading will be decided following the discussions with Egypt’s new prime minister,” it added.

The Cairo bourse closed down 10 percent on January 27, after 70 billion Egyptian pounds (11.9 billion dollars) was wiped off shares in 48 hours.

The revolt left at least 384 dead and more than 6,000 injured but forced Mubarak out of office after three decades.

Egypt’s state prosecutor on Thursday denied claims that Mubarak, 82, is currently receiving medical treatment for cancer in Saudi Arabia, reported in the state-owned newspaper Al-Akhbar.

The paper said Mubarak left for the Saudi city of Tabuk days after he resigned, and well before the new Egyptian authorities slapped a travel ban on him at the weekend.

Sources told the paper Mubarak’s wife Suzanne and his two sons Alaa and Gamal — long considered his father’s possible successor — were also living on the Tabuk military base.

Egypt’s military council met a group including ElBaradei and Arab League chief Amr Mussa on Tuesday to discuss upcoming reforms.

The talks focused on constitutional reform, especially on the conditions for presidential candidates and the reduction of the number of terms allowed to a maximum two of four years, instead of an unlimited number of six-year terms, state media said.

Mussa said last month he would be a candidate for Egyptian president.