A teenager who admitted disorderly behaviour was fined £200 when he appeared at Londonderry Magistrate’s Court.
Declan Wells (18), of Cornshell Fields, pleaded guilty to an incident in the Great James Street area of the city on May 8.
The Magistrates Court heard police were dealing with an unrelated matter when the 18-year-old became abusive.
He was standing in the middle of the road, shouting and swearing at officers.
Wells then raised his arms, clenched his fists and began gesturing towards police.
The defendant lashed out violently and he was arrested.
He was asked for his details and refused to provide them to the officers, swearing at them instead.
The court heard police had to use Wells fingerprints to establish his identity.
District Judge Peter King fined Wells £200 to remind him this sort of behaviour was unacceptable.