Brazil vs. Spain also featured unrest outside the stadium in Rio de Janeiro. But the Confederation Cup final ended in a shutout win for the home team.
Confederation Cup Goes to Brazilians in World Cup Preview

1
Brazil's Fred, bottom, scores the opening goal past Spain goalkeeper Iker Casillas, right, during the soccer Confederations Cup final between Brazil and Spain at the Maracana stadium in Rio de Janeiro, Brazil, Sunday, June 30, 2013. (AP Photo/Eugene Hoshi

2
Brazil's Fred, left, and Neymar celebrate after Fred scored the opening goal during the soccer Confederations Cup final between Brazil and Spain at the Maracana stadium in Rio de Janeiro, Brazil, Sunday, June 30, 2013. (AP Photo/Victor R. Caivano)

3
Spain's Sergio Ramos is blocked by Brazil's Hulk, front, during the soccer Confederations Cup final between Brazil and Spain at the Maracana stadium in Rio de Janeiro, Brazil, Sunday, June 30, 2013. (AP Photo/Victor R. Caivano)

4
Spain's Pedro Rodriguez, left, and Brazil's Marcelo fight for the ball during the soccer Confederations Cup final match at the Maracana stadium in Rio de Janeiro, Brazil, Sunday, June 30, 2013. (AP Photo/Natacha Pisarenko)