Flamengo defeated Vasco da Gama 3-1 on penalties to win the Rio de Janeiro State Championship on Sunday.
Article continues below ...
The match finished goalless in normal time, but Vasco missed three spotkicks to leave Thiago Neves to score the winning penalty.
Ronaldinho returned from injury to secure his second state championship having won the Gaucho (Rio Grande do Sul) 12 years ago.
The other two state semi-finals also went to shootouts.
Copa Libertadores champion Internacional defeated Gremio 4-2 on penalties after the match finished 1-1 in Porto Alegre.
Inter took a 23rd-minute lead through Leandro Damiao but it was reduced to 10 men 20 minutes from full-time when midfielder Pablo Guinazu was sent off.
Gremio centre-back Junior Vicosa equalised with three minutes left, but his side lost the penalty shootout meaning the two sides will fight out a two-legged final.
Corinthians defeated Palmeiras on penalties to set up a clash with Santos in the Paulista final.
Palmeiras was up against it when defender Danilo was shown a straight red card in the 23rd minute. Coach Luis Felipe Scolari was also sent to the stand for his protest.
However, Palmeiras took the lead in the 52nd minute when Leandro Amaro headed home an inswinging corner at the near post.
Corinthians equalized in controversial circumstances 12 minutes later when Willian’s header from a deep corner was adjudged to have crossed the line by the assistant referee, although video replays proved inconclusive.
The first 10 penalties were converted until Corinthians goalkeeper Julio Cesar kept out Joao Vitor’s spotkick.
Ramirez kept his cool to score the winning penalty and secure a place in the final where they will meet Santos, which beat Sao Paulo 2-0 on Saturday.