Porto president Jorge Nuno Pinto da Costa has confirmed Iker Casillas' retirement.
The 38-year-old goalkeeper announced that he will run to become the next president of the Spanish Football Federation (RFEF) on Monday.
Porto president Pinto da Costa revealed that Casillas spoke to him regarding his plans to hang up his gloves.
"I was very happy. Casillas had an attitude that touched me a lot, because before announcing the candidacy he made a point of coming to Porto to have lunch with me to communicate that he would make that decision and end his career," he said.
"He had a great career, in which he has only been in two clubs and we know he has both at heart."
Casillas has been the liaison between the first-team squad and the board of directors at Porto after suffering a heart attack in training in May last year, since which he has not played.
Posting on Twitter earlier this week, the World Cup winner confirmed he would contest the presidency against Luis Rubiales by saying: "Yes, I will stand for presidency of the Spanish FA when elections are called. Together we will put our federation at the top alongside the best football in the world: Spanish football."
"I've informed the president of my club FC Porto of the decision and I want to express my deepest gratitude."
"We're working on our candidacy with the highest respect. More than 23,000 voters await us in fair and transparent elections as 139 assembly members will make the key decision."
"Thanks for all the support and good wishes. Let's go for it!"