With Spain, Xavi won the FIFA World Youth Championship in 1999, and the Olympic silver medal at the 2000 Olympics. After making his senior team debut in 2000, he was capped 133 times for his country, and was an influential figure in the team's successes. He played an integral role in Spain's victory at the 2010 FIFA World Cup, as well as their wins at UEFA Euro 2008 and UEFA Euro 2012. He was named Player of the Tournament at UEFA Euro 2008, and was named in the UEFA Euro Team of the Tournament in 2008 and 2012. With two assists in the UEFA Euro 2012 Final, Xavi became the first player to register assists in two separate European finals, after setting up the only goal in the final four years earlier. After the 2014 FIFA World Cup, Xavi announced his retirement from international football.