Chile are through to the Copa America quarter-finals.
They beat Ecuador 2-1 thanks to goals from Alexis Sanchez and Jose Fuenzalida.
The defending champions finished the game with 10 men after Gabriel Achilier's was sent off late in the match.
Ecuador must now beat Japan if they have any chance of progressing to the knockout stages.