Former Liverpool striker Mark Gonzalez came off the bench to head Chile to within touching distance of the last 16 as they beat Switzerland 1-0 for their second victory of the World Cup.
The 25-year-old, now at CSKA Moscow, struck with 15 minutes remaining as Switzerland, reduced to 10 men when Valon Behrami was sent off before the break, finally succumbed at the Nelson Mandela Bay Stadium in Port Elizabeth.
His goal will send the South Americans into their final Group H clash with Spain knowing a point will be enough to take them through to the knockout stages.
Chile now have six points while Switzerland, who were looking to build upon their shock victory over the Spaniards, remain on three.
After the game Behrami accused Chile's Arturo Vidal of destroying his World Cup.
The West Ham player received his straight red card from Saudi Arabian referee Khalil Al Ghamdi after tangling with Jean Beausejour and then Vidal 30 minutes into his side's 1-0 defeat by the South Americans.
Behrami said: "It surprised me because it's normal to have contact in football. My movement wasn't [intended] to create damage or do something to the player.
"I just wanted to protect the ball, like I have done every time. It's unbelievable for me."
Swiss coach Ottmar Hitzfeld said: "Of course I was angry because I was just three or four metres away when Valon Behrami defended the ball and then Vidal fell down with a lot of drama. It was quite a performance.
"It clearly wasn't a red card - it wasn't even a yellow card. It was unfair on the part of Vidal to roll around on the floor simply asking for the red card.
"There are some referees who should whistle on the field and some who should whistle on the beach."
Chile coach Marcelo Bielsa said: "I just hope that these six points can be the basis for qualification."