The total attendance at the last (and indeed decisive game, but not a final) game of the 1950 World Cup was 199,854, making it the world's largest stadium by capacity when it was inaugurated. After its 2010–2013 renovation, the rebuilt stadium currently seats 78,838 spectators, making it the largest stadium in Brazil and the second in South America after Estadio Monumental in Peru. It was the main venue of the 2007 Pan American Games, hosting the football tournament and the opening and closing ceremonies. The Maracanã was partially rebuilt in preparation for the 2013 FIFA Confederations Cup, and the 2014 World Cup, for which it hosted several matches, including the final. It also served as the venue for the opening and closing ceremonies of the 2016 Summer Olympics and Paralympics, with the main track and field events taking place at the Estádio Olímpico.