Gabriel Jesus scored and assisted on goals before being sent off in Brazil's 3-1 win over Peru in the Copa America final on Sunday in Rio de Janeiro.

The hosts opened the scoring in the 15th minute after Gabriel Jesus slipped past two defenders and crossed the ball for Everton to finish first time past Peru keeper Pedro Gallese.

The two teams traded goals right before half-time with Paolo Guerrero converting a spot kick for Peru after Thiago Silva was whistled for handball and Jesus cooly finishing from the top of the penalty area to restore Brazil's lead at 2-1 before the break.

Peru had not won this tournament since 1975 and they bounced back quickly with an equaliser a minute before half-time when Paolo Guerrero scored from the penalty spot after Thiago Silva was adjudged to have handled the ball.

The goal was the first Brazil had conceded in six games since the Copa America began.

Jesus was controversially sent off in the 70th minute for a foul on Carlos Zambrano with the Man City striker being shown his second yellow card and leaving Brazil to finish the match with 10 players.

"I want to apologise," said Jesus. "I could have avoided it and I also need to grow up a lot."

Despite being down a man, Brazil were still able to force the issue on the field and goalscorer Everton drew a penalty, which substitute Richarlison converted to give Brazil their ninth Copa America title and first major trophy since 2007.

Peru coach Ricardo Gareca recognised Brazil were the superior side but said his team, who played at their first World Cup in 36 years in 2018, were competitive throughout.

"It was fair that Brazil won," he said. "We had our momentum but the second goal...

"They took advantage of their opportunities.

"We came here hoping to win but they were very effective," he added. "But looking beyond the pain of the defeat, I think we are on the right path, that is the feeling that I have."

An injured Neymar and his son sat close to Brazilian president Jair Bolsonaro among the crowd of nearly 70,000 at the Maracana as the Selecao secured a historic one for Brazil manager Tite, who becomes the first coach to oversee a win in the Copa America, the Copa Libertadores (Corinthians, 2012) and the Copa Sudamericana (Internacional, 2008).