A 55-year-old man from Salford has been told he could be jailed if he doesn't stop playing loud music through the night.
The Eccles man has ignored polite requests, official warnings and a legal notice from Salford City Council.
When council officers seized hundreds of pounds worth of sound equipment the man simply replaced it all.
Council officers executed another warrant and seized that equipment.
Magistrates were told the noise continued during the working week as well as at weekends.
Magistrates have now backed the council’s application for the first ever criminal behaviour order against statutory noise nuisance in Greater Manchester.
The order lasts five years and prevents the man from playing music or permitting music to be played at a level that can heard outside his property.
They warned him that if he breaches the order he could be arrested and jailed.
Councillor David Lancaster, lead member for environment and community safety, said: “This is an unprecedented case which could have been avoided with a bit of neighbourly consideration.
"If he had complied with the first polite request to keep the noise down none of this would have been necessary.
“We will always try to resolve noise complaints without resorting to the law but if people refuse to be reasonable and considerate then we will use our full powers.
It is the first time we have used a criminal behaviour order to tackle noise nuisance but, if need be, it will not be the last time we use these powers."