El Tri had a 22-game unbeaten streak and international attention since last losing June 19, 2015, to Ecuador 2-1 in the Copa America.

Everything was ready Saturday night for Mexico to celebrate its biggest tournament victory outside its home soil in the Copa America Centenario quarterfinals at sold-out Levi’s Stadium, where 70,547 fans created an electric atmosphere.

El Tri was looking to complete a calendar year unblemished and herald a new era for Mexican football.

Then a soccer disaster unfolded as Mexico allowed seven goals in an official match for the first time since 1928.

“It was Total Football,” Chilean star Arturo Vidal said in Spanish after the victory.

Or, for the Mexicans, total annihilation, leading one reporter to ask coach Jose Carlos Osorio if he would resign. Osorio rejected the notion of stepping down after his first loss since taking over the team in October.

“I’d like to offer you my most heartfelt apology to the Mexican people,” Osorio said in Spanish “It was shameful.”

No one had an explanation for what unfolded in a game witnessed by the largest crowd to see a sporting event at Levi’s Stadium outside Super Bowl 50.

Eduardo Vargas scored a stunning four goals, while Alexis Sanchez had a goal and two assists in the beat-down.

The defending South American champions came out firing as promised to silence the overwhelmingly Mexican-flavored crowd and advancing to the semifinals Wednesday in Chicago against Colombia.

Mexico looked as if it were flattened by 10 red-jerseyed bulldozers, although the scene at Levi’s resembled something from Estadio Azteca, El Tri’s Mexico City stadium.

Many of the green-white-and-red-adorned Mexican fans ignored pleas to not use a traditional homophobic chant when the opposing goalkeeper had the ball.

El Tri’s supporters screamed the chant throughout the game, only a week since the Orlando massacre at the gay nightclub Pulse. On Thursday, soccer officials condemned “any chants or actions that are derogatory or offensive during our matches.”

The fans eventually turned their anger on El Tri, taunting the players with the same ugly chants once the game got out of hand.

“I feel really ashamed to make the fans and all Mexicans go through this,” midfielder Hector Herrera told reporters. “At the end, it hurt that our own fans were screaming at us and our own goalkeeper.”