A participant in Pamplona's San Fermin Festival snapped a selfie Friday as he was running only a few paces ahead of a group of stampeding bulls. While he wasn't injured while snapping the pic, it could turn out to be a costly image.

Pamplona banned taking selfies during the daily running of the bulls, with fines of up to $4,100 for offenders. Organizers of this year's festival wanted to deter people from taking these reckless photos and recordings, endangering themselves and others around them.

The man caught in the photo faces the fine after he was filmed on television taking the selfie on his phone; another man has already been charged $880 for filming the bull run using a drone. Another was charged $272 for going past a security line, although that man claimed he didn't understand the information, as it was announced via megaphone only in Spanish and Euskera.

So far only three people, all British tourists, have been fined during the eight-day festival.

Public television station TVE had allegedly asked participants to "send their best San Fermin selfies to win a prize." The station stopped encouraging people to film themselves after learning of the new bylaw, tweeting, "Be careful, we didn't quite mean that."

Ernest Hemingway wrote of the festival in his novel "The Sun Also Rises."

Since 1911, when record-keeping of the San Fermin festival began, 15 people have been killed. Most recently, a Spanish man was gored to death five years ago. This year, four Spaniards and one American have been gored nonfatally.

The American, Bill Hillmann, is recovering in the hospital after he was gored in the thigh in the festival three days ago. Hillmann, 32, co-wrote the book "Fiesta: How to Survive the Bulls of Pamplona," which was published last month.