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 2-1 Corinthians Player Ratings: De Arrascaeta the star man in title showdown
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.
Yellow card for Pedro.
Yellow card for Natan.
Substitute in, Peglow.
Substitute in, Mauricio.
Substitute in, Johnny Cardoso.
Substitute out, Yuri Alberto.
Substitute out, Patrick Bezerra.
Substitute out, Rodrigo Dourado.
Yellow card for João Gomes.
Substitute in, Thiago Galhardo.
Substitute out, Caio Vidal.
Substitute in, João Lucas.
Substitute out, Gabriel Barbosa.
Assist given by Giorgian De Arrascaeta.
Goal by Gabriel Barbosa.
Substitute in, Natan.
Substitute in, João Gomes.
Substitute out, Rodrigo Caio.
Substitute out, Diego.
Substitute in, Pedro.
Substitute out, Mauricio Isla.
Substitute in, Heitor.
Substitute out, Bruno Praxedes.
Yellow card for Diego.
Red card for Rodinei.
Assist given by Bruno Henrique.
Goal by Giorgian De Arrascaeta.
Penalty scored by Edenilson.