Anders Eriksson, warden of the Kirseberg prison in Malmo, said guards filed numerous complaints against the 21-year-old prisoner, who was not named, alleging "a series of concerted attacks" in the form of the prisoner's constant wind-breaking, Britain's The Daily Telegraph reported Thursday.
"I have worked within the prisons and probation service since 1986 and I have never experienced a situation where behavior of this sort has led to punishment," Eriksson said in an interview with Sweden's Metro newspaper.
Prison authorities said the prisoner revealed the motive for his flatulence.
"I had an upset stomach while I was playing cards but did not want to fart there. So I went over to the guards instead," he was quoted as saying.
The prisoner was issued an official warning and could face punishment for any future attacks of intentional flatulence, Eriksson said.