Updated

Hundreds of giddy Ravens fans poured into the streets Sunday night, whooping, hollering, dancing, and high-fiving complete strangers as they celebrated the team's 34-31 victory over the San Francisco 49ers.

On the far opposite coast, however, a spirit of hope and anticipation rapidly deteriorated to sullen disappointment as dejected fans tried to absorb their team's loss.

In the East, patrons who packed into Mother's Federal Hill Grille in Baltimore to watch the Ravens' second Super Bowl appearance since the team arrived in the city in 1996 jumped up onto the bar and began belting out a rendition of the Queen song "We are the champions." Bartenders sprayed purple party string into the air.

"I love this team. I love this city!" screamed Andrew Bieler, 21, shortly after the game ended.

Ashlee Tuck, 28, shouted "Yes!" and alternated between kissing her boyfriend and dancing as fans streamed out of the bar.

Michael Falls, 25, said he plans to take Monday off from his accounting job and his boss was going to do the same.

"I'm going to live up the night," he said.

Baltimore Mayor Stephanie Rawlings-Blake joined in the fun, dancing and singing alongside the fans.

"The Baltimore Ravens once again demonstrated strength, poise, and perseverance as they prevailed in Super Bowl XLVII," Rawlings-Blake said in a statement.

In a live interview from New Orleans on WBAL-TV, Rawlings-Blake said the city will hold a parade in the team's honor on Tuesday that will start at City Hall and end at the Ravens' stadium. She also urged fans to celebrate peacefully, while local television footage showed police mounted on horseback circling the crowds to maintain order.

Fans came decked out in purple for the game, many arriving at bars hours early to get seats. Women arrived with their nails painted purple. Men wore purple Mardi Gras beads. There were purple-feathered boas; purple, black and white camouflage pants; and a sea of purple and black jerseys.

It seemed no jersey was more popular than that of retiring middle linebacker Ray Lewis, No. 52. And whether they were wearing his number or not, fans said they wanted to win for Lewis, the only current player who started with the team when it came to Baltimore in 1996.

"We have to do it for Ray. It's not all about Ray. It's 90 percent for Ray, 10 percent for the city of Baltimore," said Darren Love, 40, an off-duty police officer who wearing one-piece, zip-up pajamas with the Ravens' logo in addition to purple wig.

Fans at Pickles Pub, just a few blocks from the Ravens' M&T Bank Stadium, cheered when Lewis was shown on television at the start of the game. And the cheers continued when the team scored the first touchdown. The Ravens never trailed.

Chrissy Ramirez, 22, a first-grade teacher, was one of the fans who emptied out onto South Charles Street in the Federal Hill neighborhood after the win. Ramirez, who was wearing the No. 5 jersey of Ravens' quarterback Joe Flacco, Ravens earrings, and a hat shaped like a Raven head, said she was excited and happy. She said she planned to "be ecstatic the rest of the week."

In San Francisco, fans stumbled dejectedly out of bars in the Mission District, which had been the center of celebrations -- and violence -- after the San Francisco Giants won the World Series in the fall.

"Damn, that's all I have to say," said Niners fan David Mejia, 32.

As the game drew to an end, dozens of police officers and sheriff's deputies fanned out on foot, motorcycles and patrol cars. A patrol helicopter hovered above, watching for signs of trouble.

The city had braced for possible rowdiness in the wake of the damage caused after the Niners won the NFC Championship Game two weeks ago. After that game, about a dozen people were arrested, mostly for public intoxication.

When the Giants won the World Series in late October, a city bus was set ablaze, cars were overturned and bonfires were in trash containers and in streets. About three dozen people were arrested.

Despite the large number of people on the streets Sunday night, however, most appeared to be well-behaved. Police declined to say how many arrests had been made.

"Citywide, everything seemed to be pretty good," Officer Carlos Manfredi said. "We did have a couple of flare-ups in the Mission District but otherwise everyone seemed to be behaving themselves."