Anthony Stallard, 24, had been kicking a football around in a Kingston Cemetery in Portsmouth with a friend, while also making 'ghostly' noises close to be people visiting the graves of their loved ones.
Police arrested and charged the 24-year-old with using threatening or abusive words or behaviour likely to cause distress, Portsmouth News reported.
Prosecuting at Portsmouth Magistrates' Court, Tim Concannon said: "While the football was going on they were shouting and this defendant was effectively singing loudly and being disrespectful in among the graves."
Stallard accepted at a previous hearing that his behaviour could cause distress to grieving relatives and had pleaded guilty.
More From This Section
Defense lawyer Denise Saunders said: "He has accepted that his behaviour, if it had been outside of a cemetery would not have been inappropriate, but inside a cemetery while people are grieving for their loved ones it might be."
"He is apologetic as demonstrated by his early guilty plea," she said.
The court heard that Stallard had committed the offence in April this year while subject to a 12-month conditional discharge, which he had received for a charge of harassment in January.
Stallard was fined 35 pounds and made to pay a 20 pounds victim surcharge and 20 pounds in court costs.
An extra three months was added to his suspended sentence, which will now run for 15 months instead of the previous 12.