Gabigol struck in the second half to guide Flamengo to a 2-1 victory over Internacional to send the Brazilian Serie A title to a nerve-jangling final day.
Inter knew that victory would see them crowned champions for the first time in the round-robin era of the competition, and Flamengo knew that victory would put them in the driving seat going into the final round of games.
And it was Inter who took the lead, with Edenilson showing immense composure to step up from the penalty spot and send his spot kick high into the top right-hand corner.
But Flamengo didn't panic and were able to draw level quickly. Superb probing on the left from Bruno Henrique allowed him to reach the goal line and pick out a team-mate with a pull-back - Giorgian De Arrascaeta was in the right spot to guide his effort into the far corner of the net.
Flamengo showed patience in possession throughout, having had 60% of the ball, though clear openings were at a premium for both teams. A draw suited Inter more, but that plan wasn't aided when full-back Rodnei was sent off.
And then Gabriel Barbosa, known as Gabigol, put his side in front. A superb through ball slid into his path by De Arrascaeta found Gabigol on the run, and the former Internazionale forward finished with a rather scuffed effort across the goalkeeper.
Inter, knowing they had lost their advantage in the title race, tried to rally but with 10 men but couldn't get a foothold, and Flamengo held on.
Flamengo now have a two-point advantage with one game to play. They have to visit Sao Paulo in the final round of games, while Inter face Corinthians at home.