Chelsea managed to secure a 2-1 victory over Palmeiras in the Club World Cup quarter-finals with a late own goal.
The crucial goal came in the 83rd minute when Malo Gusto's cross deflected off Agustin Giay and goalkeeper Weverton, finding the back of Palmeiras' net just before extra time loomed.
Although Chelsea took the lead early on with a goal from Cole Palmer, Palmeiras equalized with a brilliant strike from Estevao Willian, who will be joining Chelsea after the tournament.
Despite Palmeiras threatening towards the end, Gusto's fortunate goal ensured Chelsea's spot in the semi-finals where they will face Fluminense.
The match was played in a lively atmosphere with a crowd of 65,782 spectators, possibly due to the tickets being priced as low as £8 earlier in the day.
Even with a free Independence Day concert and fireworks display in downtown Philadelphia, featuring LL Cool J who later withdrew, the game drew attention.
The sound of Palmeiras' vocal supporters reverberated throughout the stadium, creating an intense environment that Chelsea couldn't quiet down.
Despite captain Reece James getting injured in the warm-up, Chelsea managed to settle quickly into the game.
Pedro Neto, who contemplated missing the match due to the passing of his Portugal teammate Diogo Jota, paid tribute by displaying their names on a shirt during a moment of silence.
After Palmer's early goal, Chelsea had several chances to extend their lead with shots from Cucurella, Fernandez, Chalobah, and Nkunku testing Weverton.
Palmeiras struggled to find openings as Cucurella posed a threat, but they eventually equalized with a remarkable strike from Estevao.
Chelsea responded by bringing on Joao Pedro for his debut, following his big-money move from Brighton.
Although there were some nervy moments for Chelsea, including Allan's near-miss, they regained the lead when Gusto's cross tricked Weverton into an own goal.
Chelsea sealed the win, with Noni Madueke almost adding a third goal, hitting the post with his late effort.
Liam Delap and Colwill will be absent for the semi-final due to bookings received in the match.