As expected, the court's decision failed to defuse tensions over the case, which has taken on political undercurrents at a time when the entire nation is mired in political turmoil, a worsening economy and growing opposition to the rule of Islamist President Mohammed Morsi.
Shortly after the verdict was announced Saturday, suspected fans of Cairo's Al-Ahly club who had gathered in the thousands outside the team's headquarters in central Cairo went on a rampage, torching a police club nearby and storming Egypt's soccer federation headquarters before setting it ablaze. The twin fires sent plumes of thick black smoke billowing out over the Cairo skyline. Two army helicopters were being used to put out the fires.
At least five people were injured in the protests, a Health Ministry official told the MENA state news agency.
In anticipation of more violence, authorities beefed up security near the Interior Ministry, which is in charge of the police force, with riot police deploying in the streets around the complex in central Cairo.
Earlier at the courthouse across town, Judge Sobhi Abdel-Maguid read out the verdict live on TV, sentencing five defendants to life in prison and nine others to 15 years in jail. Six defendants received 10-year jail terms, two more got five years and a single defendant received a 12-month sentence.
The court's decision on the nine Port Said security officers on trial was among the most highly anticipated and potentially explosive verdicts. In the end, the judges sentenced the city's former security chief, Maj. Gen. Essam Samak, and a colonel both to 15 years in prison, while the others were acquitted.
Al-Ahly's fans accuse the police of collusion in the killing of their fellow supporters, arguing that they had advance knowledge of plans by supporters of Port Said's Al-Masry to attack them. They also accuse them of standing by as the Al-Masry fans set upon the visiting Al-Ahly supporters.
The court rulings can be appealed.
Many residents of Port Said, which is located on the Mediterranean at the northern tip of the vital Suez Canal, say the trial is unjust and politicized, and soccer fans in the city have felt that authorities have been biased in favor of Al-Ahly, Egypt's most powerful club.
The Feb. 2012 riot followed a league match between Al-Masry and Cairo's Al-Ahly club, with Port Said supporters setting upon the visiting fans after the final whistle. The deadly melee is Egypt's worst soccer disaster.
Before the fires broke out, thousands of Al-Ahly fans had gathered outside the club's headquarters in Cairo. They appeared divided on whether to welcome the verdicts or consider them flawed.
"We came for the rulings on the defendants from the police," said one fan who refused to give his name. "Why should I be happy when most of them were acquitted?"
In Port Said, a city that for weeks has been in open rebellion against the Islamist president, several hundred people, many of them relatives of the defendants, gathered outside the local government offices to vent their anger. They chanted slogans against Morsi's government and the verdicts.
Some people in a cafe watching the verdict live on TV hit their heads in frustration, while others broke down and wept. Some said they can live with the verdict because an appeal leaves room for hope.
"There's still an appeal process. God willing, our rights will be restored," said Islam Ezzeddin, a local soccer fan. "We are not thugs. I hope to God when there's an appeal, that we feel we live in a country of law and justice."
Several protesters in Port Said, a strategic city at the Mediterranean end of the Suez Canal, sought to disrupt shipping in the vital waterway by releasing small speedboats into the traffic lanes, although the effort failed to disrupt shipping. Others set fire to tires on the city's dock to prevent ships from coming in, but that again was quickly abandoned.
A spokesman for the Suez Canal Authority, Tareq Hasanein, told Egypt's official MENA news agency that shipping in the international waterway was proceeding normally, with 41 vessels transiting the canal on Saturday.
However, the national railways chief, Hussein Zakaria, ordered trains headed to Port Said to terminate their services at Ismailiya, another Suez Canal city south of Port Said. He said the measure was taken out of fear for the safety of passengers.
Port Said has been the center of the heaviest violence in Egypt's latest wave of unrest. The ongoing turmoil began on Jan. 25, when hundreds of thousands across the country marked the second anniversary of the start of the uprising that toppled Hosni Mubarak's regime.
Cairo, the Mediterranean port city of Alexandria, and several cities in the Nile Delta north of the capital have all been swept up in the unrest as well.
During clashes between police and protesters the past week that killed eight people, Port Said also saw dangerous frictions between police and the military. Army troops trying to break up the clashes at one point fired over the heads of police forces, which had been shooting tear gas in their direction.
At least some of the anger city residents feel for the police was defused on Friday, when police handed over security control in the city to the military.
No police could be seen anywhere in Port Said on Saturday. A military helicopter hovered overhead and army checkpoints were set up on main streets.
Batrawy reported from Port Said. Associated Press writer Mariam Rizk contributed to this report from Cairo.