“Everything was on the line and there was only one result that was going to work for us,” said TFC captain Michael Bradley. “Not perfect by any means but at this point, we’re not necessarily looking for perfect.”

Story continues below advertisement

A tie might have sounded the death knell to Toronto’s slim playoff hopes. But Osorio, as he has done all season, stepped up when needed and headed home a Marky Delgado cross for his 10th of the season.

But coupled with Montreal’s 4-1 win over Philadelphia, Toronto (8-14-6) remains nine points out of the playoff picture with six games remaining.

Ibrahimovic scored career goal No. 500 to trigger a Galaxy rally that silenced the BMO Field crowd of 30,799 after Toronto raced into a 3-0 lead.

The 36-year-old Ibrahimovic has a flair for the dramatic and he did not disappoint in notching his 43rd-minute milestone goal.

Los Angeles Galaxy forward Zlatan Ibrahimovic celebrates his 500th goal during the first half against Toronto FC on Saturday.

Nick Turchiaro/USA TODAY Sports via Reuters

The play started with Jonathan dos Santos chipping the ball into the box. The six-foot-five Ibrahimovic twirled to get an angle at the ball between two defenders, flicking his right leg up high — in a roundhouse kick more common in mixed martial arts than soccer — to deflect it past goalkeeper Alex Bono for his 17th of the season.

“That was a pretty unique finish,” said Bono. “I’ve never had a goal scored on me like that before.”

The stylish Swede joins Barcelona’s Lionel Messi and Juventus’ Cristiano Ronaldo as the only active players with 500 goals for club and country.

Story continues below advertisement

Story continues below advertisement

“Instinct,” Ibrahimovic said of the acrobatic goal. “I mean those things you don’t plan. It’s impossible to plan. The way it came, I just tried to get it on goal.”

“I’m just happy for the Toronto fans that they got to see something they hadn’t seen before,” he added in typical Zlatan fashion.

Given the two teams had conceded 106 goals between them this season prior to Saturday, there was no shortage of offence on show. It was a wide-open affair that could have produced 10-plus goals with Toronto outshooting Los Angeles 17-10 (8-6 in shots on target).

Victor Vazquez, Jozy Altidore and Sebastian Giovinco also scored for Toronto, which led 2-0 after 22 minutes and 3-0 after 36.

Ola Kamara and Rolf Feltscher also scored for Los Angeles (10-11-8), which beat Bono twice in five minutes early in the second half to tie it at 3-3.

The game saw 10 yellow cards issued, six to the Galaxy and four to Toronto.

Story continues below advertisement

Toronto went ahead quickly with Vazquez heading in a fine Gregory van der Wiel cross in the fifth minute. Altidore doubled the advantage in the 16th minute with a low shot after a nice passing buildup.

Giovinco made it 3-0 in the 36th minute, beating goalkeeper David Bingham after Toronto outran a sluggish Galaxy defence on the counter-attack.

Kamara cut the margin to 3-2 in the 54th minute, heading in a dos Santos free kick with Toronto’s defenders offering minimal resistance. The Toronto defence was caught again four minute later with Feltscher ghosting in to head home an Ashley Cole cross to tie it at 3-3.

Toronto, coming off a 4-2 home loss to Los Angeles FC, had won just once in its previous six games (1-3-2) and collected 13 of an available 42 points over the last 14 games (3-7-4).

TFC must now turn its attention to the inaugural Campeones Cup, which pits Toronto as reigning MLS title-holder against Mexican champion Tigres UANL, on Wednesday at BMO Field. Toronto returns to league action at the New York Red Bulls next Saturday.

The Galaxy arrived three points out of the playoffs and winless in six games (0-3-3), a stretch that saw them outscored 18-8 and precipitated the departure of head coach Sigi Schmid. Interim coach Dominic Kinnear was in charge Saturday.

Story continues below advertisement

He has plenty of work to do. The Galaxy have now conceded 16 goals in their last three road games, giving up six goals in Salt Lake and five in Seattle.

Toronto was missing defenders Drew Moor, Chris Mavinga and Brazil’s Auro. The last two have been making their way back from injury, but Moor went down with a minor calf strain on the eve of the game.

Bradley, normally a holding midfielder, lined up in the middle of a Toronto back three. Toronto reverted to a back four with Bradley in the midfield after the game was tied at 3-3.

Welcome to The Globe and Mail’s comment community. This is a space where subscribers can engage with each other and Globe staff. Non-subscribers can read and sort comments but will not be able to engage with them in any way. Click here to subscribe.

Welcome to The Globe and Mail’s comment community. This is a space where subscribers can engage with each other and Globe staff. Non-subscribers can read and sort comments but will not be able to engage with them in any way. Click here to subscribe.

Welcome to The Globe and Mail’s comment community. This is a space where subscribers can engage with each other and Globe staff.

We aim to create a safe and valuable space for discussion and debate. That means:

All comments will be reviewed by one or more moderators before being posted to the site. This should only take a few moments.

Treat others as you wish to be treated

Criticize ideas, not people

Stay on topic

Avoid the use of toxic and offensive language

Flag bad behaviour

Comments that violate our community guidelines will be removed. Commenters who repeatedly violate community guidelines may be suspended, causing them to temporarily lose their ability to engage with comments.

Due to technical reasons, we have temporarily removed commenting from our articles. We hope to have this fixed soon. Thank you for your patience. If you are looking to give feedback on our new site, please send it along to feedback@globeandmail.com. If you want to write a letter to the editor, please forward to letters@globeandmail.com.