The furious father phoned up police before the attack to inform them where he would be confronting the “paedophile”.
When officers arrived at the scene, they found the alleged sexual predator on the ground and bleeding profusely, online daily El Correo reported on Thursday.
The aggressor handed police the cane he had used as a weapon and the victim’s phone for them to see the texts he had been sending the underage girl with their own eyes.
The girl’s father told police his daughter had been psychologically affected by the text messages the man had sent her and decided to “have a word with him”.
The offender, who had numerous fractures and bruises on his head and face, told police it was the first time he’d done anything like it and that it wouldn’t happen again.
Both men were arrested and are awaiting trial.