RIO DE JANEIRO, June 22 (Xinhua) -- Brazil's President Michel Temer congratulated on Friday the national soccer team for their victory against Costa Rica in the second group match in Russia World Cup.

Brazil won by 2-0 in a dramatic match which was only decided in the final minutes. It was the team's first victory in the tournament. In the first group match, Brazil tied with Switzerland 1-1. Brazil will face Serbia on Wednesday.

The President praised the stamina and determination of the players through his Twitter account.

"Congratulations to the team for their stamina and determination! Forward to the sixth championship," he said on Twitter.

The official account of the Brazilian government on Twitter also published a message calling for all Brazilians to cheer for the national team.

Since the defeat by 7-1 to Germany in the 2014 World Cup, considered a global embarrassment, the team has not gained back the support of a significant share of fans. Nevertheless, there were huge gatherings of fans to watch the game earlier on Friday.