The animal lashed out with its back feet as he approached it from behind to pat it on the backside after it had been let out onto the streets at the annual festival.
The 37-year-old, named locally as Jose Ramon Bronte Les, was left haemorrhaging blood and appeared to be virtually lifeless as he dropped to his knees. Reports in Spain said he survived.