BALTIMORE (WJZ)– Their victory dance almost ended their hopes of winning a state championship. But Saturday, Perry Hall’s high school soccer team got a second chance.

Adam May has more.

READ MORE: BPD Officer Dragged By Car 2 Blocks Is Now In Fair Condition; 36-Year-Old Charged

The Perry Hall soccer team celebrates a victory that was almost forfeited.

“It feels amazing after all we’ve been through,” Christopher White, the Perry Hall soccer team captain, said.

Earlier in the week, the team got in trouble for performing the so-called “Bernie Dance.” Parents from Dulaney, the opposing team, called it lewd and offensive.

“We were celebrating, we didn’t mean to taunt the fans. Emotions were high, having a good time, just being teens,” Ethan Muller, a Perry Hall soccer player, said.

At first, Perry Hall’s principal responded by pulling the team out of the state finals. Then, he changed his mind after a public outcry.

READ MORE: Crime Without Punishment: Homicide Clearance Rates Are Declining Across The US. Baltimore's Is Down To 42%

“They will play,” George Roberts said.

“The community, we want to thank them a lot because they all had our back,” White said.

The dance was made popular in the movie “Weekend at Bernie’s.” It made Bernie rise from the dead. Now, it’s so popular it’s even used by some Ravens.

For the soccer team, players are relieved their high school careers didn’t end because of it.

“Roller coaster week, high, low, high now. Hopefully it ends on a high note,” Muller said.

“I think we can go far. We have a lot of people supporting us, and we’re gonna train hard and play to win,” White said.

“Losing is not an option now,” said Benny Magliano.

MORE NEWS: Man Charged With Dragging Baltimore Officer Had Nearly 20 Prior Arrests

Perry Hall now advances in the state tournament. They play Westminster Tuesday.