Andres Iniesta has confirmed he has played his last match for Spain.

Iniesta said in May that he likely would retire from Spain after the World Cup.

"This was my last game for Spain," Iniesta told reporters. "A marvellous spell is over. Sometimes the end is not as you dreamed it."

Iniesta was Spain's fourth-most capped player, behind Iker Casillas, Sergio Ramos and Xavi Hernandez.