Two men who frightened passers-by in a Carlisle street by firing a paintball gun from a car have admitted affray.
David Turnbull and Steven McNeil, both 21, drove up and down Botchergate last September with a weapon that looked like a pump-action shotgun.
Mr McNeil, of Larch Drive, Carlisle, was given a two-year community order of 80 hours unpaid work and put under a night time curfew.
Mr Turnbull, of Shadygrove Road, will be sentenced on Thursday.
Judge Paul Batty told Carlisle Crown Court that people in the street must have been "absolutely terrified".
The court also heard that the 18-inch gun was so realistic that it could have been mistaken for a pump-action shotgun.