The police in Spain say that they have arrested the spectator who threw the banana at Barcelona defender Daniel Alves on April 27.
The racist incident happened when the player was going to take a corner in a match against Villarreal. He responded by peeling the fruit and eating it and this act received praise and campaigns against racism on the web all over the world.
The man who was detained has been identified as a 26-year-old Villarreal supporter named as David Campaya Lleo.
The club said the man involved had had his season ticket withdrawn and been given a lifetime ban.
Daniel Alves said that it was "not an isolated incident", and that he had been denouncing racist insults for over six years.
"I hope that this (campaign) can be an alert to ban this kind of attitude from football altogether. I hope the debate about racial prejudice will not fade away, but stays on permanently and not be restricted only to football," he added.
He criticized Spain saying that they sell the country as being first world but in certain things they are very backward.
Alves also said that he wanted the opposition fan who threw the banana to be publicly shamed.
Villarreal said the club deeply regrets and condemns the incident.
The hashtag "we are all monkeys" took Twitter by storm after the Brazilian player Neymar tweeted a photo of himself smiling on Instagram with a banana, side by side with his toddler son.
Professional players, celebrities and ordinary people have posted photos of themselves, banana in hand, on social media. I am one of them: see above.