![Neymar of Brazil celebrates scoring his team's second goal in its 3-0 victory over Spain in the final of the Confederations Cup.](https://media.cnn.com/api/v1/images/stellar/prod/130701035146-neymar-new.jpg?q=w_3000,h_1919,x_0,y_0,c_fill/h_447)
Glory on the pitch masks unrest in Brazil —
Neymar of Brazil celebrates scoring his team's second goal in its 3-0 victory over Spain in the final of the Confederations Cup.
![But the build up to the final was marred by clashes between protesters and police in the streets near the Maracana.](https://media.cnn.com/api/v1/images/stellar/prod/130630235509-confederations-cup-final-4.jpg?q=w_3084,h_2017,x_0,y_0,c_fill/h_447)
But the build up to the final was marred by clashes between protesters and police in the streets near the Maracana.
![The match itself was fully committed, with players from both sides desperate to finish the tournament in style.](https://media.cnn.com/api/v1/images/stellar/prod/130630234728-confederations-cup-final-3.jpg?q=w_4288,h_2809,x_0,y_0,c_fill/h_447)
The match itself was fully committed, with players from both sides desperate to finish the tournament in style.
![The mood on the streets of Rio de Janeiro remained hostile as Brazil and Spain took to the pitch.](https://media.cnn.com/api/v1/images/stellar/prod/130630233524-confederations-cup-final-1.jpg?q=w_3117,h_2301,x_0,y_0,c_fill/h_447)
The mood on the streets of Rio de Janeiro remained hostile as Brazil and Spain took to the pitch.
![Many people in the streets near the stadium were affected by the effects of tear gas.](https://media.cnn.com/api/v1/images/stellar/prod/130701000429-confederations-cup-final-5.jpg?q=w_3600,h_2465,x_0,y_0,c_fill/h_447)
Many people in the streets near the stadium were affected by the effects of tear gas.
![But inside the stadium, Brazilian fans attempted to put the country's problems aside for 90 minutes.](https://media.cnn.com/api/v1/images/stellar/prod/130701005553-confederations-cup-final-7.jpg?q=w_3954,h_2514,x_0,y_0,c_fill/h_447)
But inside the stadium, Brazilian fans attempted to put the country's problems aside for 90 minutes.
![Hulk of Brazil and Sergio Ramos of Spain compete for the ball in a match the hosts dominated.](https://media.cnn.com/api/v1/images/stellar/prod/130701010112-confederations-cup-final-8.jpg?q=w_2295,h_3000,x_0,y_0,c_fill/h_447)
Hulk of Brazil and Sergio Ramos of Spain compete for the ball in a match the hosts dominated.
![In the end, two goals from Fred (pictured) and Neymar gave Brazil an emphatic win over the World and European champions.](https://media.cnn.com/api/v1/images/stellar/prod/130701032607-fred-new.jpg?q=w_3270,h_2289,x_0,y_0,c_fill/h_447)
Football amid fury: Protests rage as Brazil lifts Confederations Cup —
In the end, two goals from Fred (pictured) and Neymar gave Brazil an emphatic win over the World and European champions.
![Brazil players Dante, left, and Dani Alves, in a wig, celebrate with their winner's medals.](https://media.cnn.com/api/v1/images/stellar/prod/130701010422-confederations-cup-final-9.jpg?q=w_4096,h_2779,x_0,y_0,c_fill/h_447)
Brazil players Dante, left, and Dani Alves, in a wig, celebrate with their winner's medals.
![Spain's Xavi and Cesar Azpilicueta of Spain appear dejected in defeat.](https://media.cnn.com/api/v1/images/stellar/prod/130701010711-confederations-cup-final-10.jpg?q=w_2067,h_1411,x_0,y_0,c_fill/h_447)
Spain's Xavi and Cesar Azpilicueta of Spain appear dejected in defeat.