During the 2013 Confederations Cup in Brazil, Italy started in a group with Mexico, Japan and Brazil. After beating Mexico 2–1 and Japan 4–3, Italy eventually lost their final group game against tournament hosts Brazil 4–2. Italy then faced Spain in the semi-finals, in a rematch of the Euro 2012 final. Italy lost 7–6 (0–0 after extra time) in a penalty shoot-out after Leonardo Bonucci failed to score his kick. Prandelli was praised for his tactics against the current World Cup and European champions. Italy was then able to win the match for the third place by defeating Uruguay with the penalty score of 5–4 (2–2 after extra time). Italy was drawn in UEFA Group B for the 2014 World Cup qualification campaign. They won the qualifying group without losing a match. Despite this successful run they were not seeded in pot 1 for the final seeding. In December 2013, Italy was drawn in Group D against Costa Rica, England and Uruguay. While Italy defeated England 2–1 in its first match, underdogs Costa Rica beat the Italians 1–0 in the second group stage match. In Italy's last group match, they were knocked out by Uruguay 1–0, due in part to two controversial calls from referee Marco Antonio Rodríguez (Mexico). In the 59th minute, midfielder Claudio Marchisio was sent off for a questionable tackle. Later in the 80th minute, with the teams knotted at 0–0 which would have sent Italy to the next round, Uruguayan striker Luis Suárez bit defender Giorgio Chiellini on the shoulder but was not sent off. Uruguay went on to score moments later in the 81st minute with a Diego Godín header from a corner kick, winning the game 1–0 and eliminating Italy. This marked Italy's second consecutive failure to reach the round of 16 at the World Cup finals. Shortly after this loss, coach Cesare Prandelli resigned.