Cape Town - Real Madrid goalkeeper Iker Casillas admits he thought about quitting the club following a tumultuous two seasons for the Los Blancos skipper.
The Spain number one found himself behind Diego Lopez in the pecking order under former boss Jose Mourinho, while he was out of Carlo Ancelotti's first choice XI for much of last season as well.
The spotlight has been on Casillas once more this season after a falling out with defender Alvaro Arbeloa, while he was criticised after making a poor start to the season.
However, the 33-year-old has since regained his number one spot in La Liga and is determined to see out his career at the Santiago Bernabeu.
"Yes, I had thought about leaving," he told Canal Plus.
"You do not want to disturb things or create a bad environment because you always want Madrid to win.
"But then you think 'you have to compete and fight'. These last two years have seen me fight and seen me struggle.
"There were no offers for me and I want to finish my career here."
On the public criticism he has received, most notably in the derby with Atletico Madrid, Casillas added: "It hurts."
"I have been here since I was nine years old, I have got many things with this club and it has been a springboard to the national team for me.
"The public are free to do what they want but it also hurts. Being here so long also means I have to accept certain things."