A Sudanese court on Monday sentenced 27 security forces members to death by hanging for torturing and killing a detained protester during the uprising against Sudan's longtime autocrat, Omar al-Bashir, earlier this year.

The verdict, which can be appealed, was the first connected to the killing of more than 200 pro-democracy protesters since the demonstrations began last December.

"We are now sure our revolution is continuing on the right path," said protester Amna Mohammed. She was among a cheering crowd of hundreds that gathered to welcome the verdict's announcement outside the court in Omdurman, the capital Khartoum's twin city.

The death of protester Ahmed al-Khair, a school teacher, while in detention in February was a key point — and a symbol — in the uprising that convulsed the large African country. That led, in April, to the toppling of al-Bashir, and ultimately to the creation of a joint military-civilian Sovereign Council that has committed to rebuilding the country and promises elections in three years.

The anniversary of the uprising this month drew teeming crowds to the streets in several cities and towns across the country, with people singing, dancing and carrying flags. A train packed with exuberant demonstrators, clapping and chanting, arrived in the northern city of Atbara, the birthplace of the uprising, from the capital.

The Sudanese Professionals Association, an umbrella group of unions that led the protests against al-Bashir, welcomed Monday's verdict. The group vowed to continue pursuing and bringing to justice security officials accused of torture.

Mohammed al-Feki Soliman, a member of the Sovereign Council, said the trial "renews the Sudanese people's trust in their judicial institutions."

Sudanese protesters cheer upon arriving from the capital Khartoum to the town of Atbara on Dec. 19 to mark the first anniversary of the uprising that toppled Omar al-Bashir and demand justice for slain protesters. (Ashraf Shazly/AFP/Getty Images)

Al-Khair was detained on Jan. 31 in the eastern province of Kassala and was reported dead two days later. His body was taken to a local hospital, where his family said it was covered in bruises. At the time, police denied any police wrongdoing and blamed his death on an "illness," without providing any details.

Judge al-Sadik al-Amin al-Fek, however, said on Monday the teacher was beaten and tortured while in detention. "His death was an inevitable consequence of the beating and torture," he said.

The court also sentenced three other members of the security forces to three years each in prison, and acquitted seven suspects in the case. All of those sentenced were policemen working in the jail where al-Khair was held or intelligence agents in the region.

Following a tradition based on Islamic law, or Shariah, the court gave al-Khair's family the opportunity to "forgive" the suspects, which could have led to their pardon, but the offer was declined.

Taj al-Ser Ali al-Hebr, the country's top prosecutor, welcomed the verdict as a "victory." He called on the government to join the UN Convention Against Torture.

Al-Bashir charged with genocide

Also this month, a court in Khartoum convicted al-Bashir of money laundering and corruption, and sentenced him to two years in a minimum-security lockup. The image of the former dictator in a defendant's cage sent a strong message on live television for all of Sudan.

The deposed ruler is under indictment by the International Criminal Court (ICC) on far more serious charges of war crimes and genocide linked to his brutal suppression of the insurgency in the western province of Darfur in the early 2000s. The military has refused to extradite him to stand trial in The Hague.

Al-Bashir sits inside a cage during the hearing of the verdict that convicted him of corruption charges, in a court in Khartoum on Dec.14. (Mohamed Nureldin Abdallah/Reuters)

Amnesty International and other rights groups have called on the new government to hold security forces accountable for killing scores of people in their efforts to stifle protests against military rule, especially those behind a deadly crackdown on a huge sit-in outside the military headquarters in Khartoum last June.

The government recently appointed independent judges to oversee investigations into the killings, a major achievement for the pro-democracy movement.

Sudan is under heavy international and regional pressure to reform. With the economy on the brink, the new government has made it a mission to get Sudan removed from the U.S. list of state sponsors of terrorism so that it can attract badly needed foreign aid.

The Sudanese government is expected to seek a bailout from the International Monetary Fund and the World Bank. That would require it to cut food and fuel subsidies and further devalue the local currency, said the IMF's Daniel Kanda after a visit to Khartoum earlier this month.

But the government on Sunday passed the 2020 budget that dropped proposals to slash food and fuel subsidies.

The pro-democracy movement, the Forces for Declaration of Freedom and Change, fears that the austerity measures could led to a spike in the inflation rate, which increased to 60 per cent in November. The uprising began last December over soaring inflation and Sudan's dire economic conditions.

Sudanese Information Minister Faisal Saleh said the government decided to postpone cutting subsidies until an economic conference the country plans to hold in March.