Participants run in front of Jandilla's bulls during the fifth bull-run of the San Fermin Festival in Pamplona, northern Spain, on July 11. / Rafa Rivas, AFP/Getty Images

by Jessica Durando, USA TODAY Network

by Jessica Durando, USA TODAY Network

During the San Fermin Festival in Pamplona, Spain, one man decided it was a good idea to take a selfie among the bulls while running.

The participant could be slapped with a fine of â?¬3,000 or $4,100 in U.S. dollars for his risky move on July 11, the Local reports.

Regional authorities passed a bylaw this year to discourage people from using devices to take photos or videos during the running of the bulls, according to the largest English-language news network in Europe.

From the Local:

If anyone does seriously disturb the encierro and put other people's lives in danger by filming or taking pictures while running with the bulls, they will have to pay â?¬3,000

The event has seen 15 people killed since 1911, when record keeping began. The most recent death happened five years ago.

The days-long festival, famously written about in Ernest Hemingway's The Sun Also Rises, attracts big crowds and involves heavy partying.