Leaders of Sudan's pro-democracy movement welcomed on Friday the power-sharing agreement with the ruling military council as a victory for their "revolution," raising hopes for an end to the three-month standoff with the generals and deadly violence.

"Today, our revolution has won and our victory shines," read a statement posted early Friday on the Facebook page of the Sudanese Professionals' Association, which has spearheaded the protests.

The emerging deal could break the political impasse that has gripped the country since the military ousted the longtime autocrat Omar al-Bashir in April, amid an uprising against his rule.

MORE THAN 100 CIVILIANS KILLED BY VIOLENCE OUTBREAK IN SOUTH SUDAN

In the following months, protesters stayed in the streets demanding the generals handover power to a civilian leadership. Talks collapsed when security forces razed a protest camp outside the military headquarters in Khartoum on June 3 leaving more than a hundred killed, according to protesters.

FILE - In this June 29, 2019, file photo, Sudanese Gen. Abdel-Fattah Burhan, head of the military council, speaks during a military-backed rally, in Omdurman district, west of Khartoum, Sudan. An African Union envoy says Sudan's ruling military council and the country's pro-democracy movement have reached a power-sharing agreement, including a timetable for a transition to civilian rule. Mohammed el-Hassan Labat said early Friday, July 5, that both sides agreed to form a joint sovereign council that will rule the country for "three years or a little more." The sides agreed to five seats for the military and five for civilians with an additional seat going to a civilian with military background.(AP Photo/Hussein Malla, File)

The African Union and Ethiopia made intensive efforts to bring the generals and the protesters back to the negotiating table.

Negotiations resumed earlier this week, after tens of thousands of demonstrators flooded the streets of Sudan's main cities over the weekend, in the biggest show of numbers since the razing of the protesters' sit-in camp. At least 11 people were killed in clashes with security forces, according to protest organizers.

When news of the deal broke around dawn on Friday, hundreds of protesters returned to the streets dancing, singing and waving Sudanese flags, while passing drivers honked.

SUDAN'S MILITARY CRACKDOWN ON PRO-DEMOCRACY PROTESTERS RESULTS IN AT LEAST 100 DEAD: OPPOSITION GROUP

The military-controlled Al-Sudan television channel played national songs. It also reran excerpts of the press conference announcing the agreement, held jointly by protest and military leaders, which it subtitled "Congratulations to the Sudanese people."

Tens of thousands of protesters have taken to the streets in Sudan's capital and elsewhere in the country calling for civilian rule nearly three months after the army forced out long-ruling autocrat Omar al-Bashir. AP Photo/Hussein Malla)

"We hope that the formation of transitional institutions marks the beginning of a new era," said Omer El-Digair, a leader of the Forces for the Declaration of Freedom and Change, a political coalition representing the protesters, at the joint press conference with the military and African mediators following the conclusion of the deal. "We hope it is an era where we can shut off the sound of pistols and destroy for good prisons of arbitrary detention."

The two parties agreed to form a joint sovereign council to lead the country during a transitional period of three years and three months, said the SPA statement.

The council will include five civilians representing the protest movement and five military members. An eleventh seat will go to a civilian chosen by both parties.

A military member will preside over the council during the first 21 months, followed by a civilian member after, according to the statement.

SUSAN'S BASHIR APPEARS IN PUBLIC FOR FIRST TIME SINCE OUSTER

This suggests a significant concession on the part of pro-democracy forces, which had insisted that the sovereign council have only a civilian president. However, the deal did secure another key demand, that protest leaders select the members of a technocratic Cabinet to be formed independently from the generals.

According to the SPA statement, the two parties also agreed to launch "a national independent investigation" into the killings of protesters since al-Bashir was ousted on April 11, according to the statement.

Mohammed el-Hassan Labat said early Friday, July 5, that both sides agreed to form a joint sovereign council that will rule the country for "three years or a little more." The sides agreed to five seats for the military and five for civilians with an additional seat going to a civilian with a military background. (AP Photo/Hussein Malla, File)

"I am not fully satisfied but it is a step forward to bring peace to our people," Tarek Abdel Meguid, an FDFC leader, told The Associated Press.

He said that concessions were necessary to avoid further bloodshed.

"It is a civilian revolution and the people had already rejected the idea of sharing power" with the military council, he said. "But this is what the balance of power imposed."

CLICK HERE TO GET FOX NEWS APP

Abdel Meguid said that the FDFC was expected to meet this afternoon and discuss whether to call off plans for rallies to mark 40 days since the protester deaths, followed by launching a national strike on July 14.