Two men were caught up in a police “sting” at Skelmanthorpe.
The pair were trapped by police, who placed tracker devices on quad bikes and left them unattended in a car park.
Now the pair have both appeared before Leeds Crown Court.
The men have been sentenced for theft after they were caught following a police sting where quad bikes and a trailer were deliberately left in a Kirklees car park.
The vehicles had tracker devices on them when they were planted in the car park next to the Co-op pharmacy in Skelmanthorpe in March.
After they were stolen by “travelling” criminals on March 9, police followed the trackers which led them to Pilling Lane where a Ford Transit van was found abandoned with one of the bikes in the back and the trailer was found close by.
The second bike was being ridden by Lee Thompson when police pursued him into the Darton area of Barnsley and he collided with a police car.
He ran off but was chased and caught when he tried to climb over a wall.
Both quad bikes had damage to the ignition systems.
Charles Blatchford, prosecuting, told Leeds Crown Court yesterday officers viewed CCTV of the car park and it showed a 4x4 vehicle pulling up.
Passenger Lee Moore, who had a cast on his left arm, was directing the vehicle back.
Once connected to the trailer he got back in and the vehicle was driven off.
Robert Sandford, for Thompson, told the court he had been offered £200 to ride one of the quad bikes away.
Moore, 41 of Smithies Wood Road, Barnsley, admitted theft of both bikes and the trailer and was given 16 months in prison, suspended for two years, with 160 hours of unpaid work and supervision.
Thompson, 23, of Gerald Walk, Kendray, Barnsley, who admitted the theft of one quad bike, was given a 12-month community order with 160 hours of unpaid work.
Judge Christopher Batty said he was satisfied they were part of a “professional team” who had stolen the vehicles unaware they belonged to the police and “were planted to catch people who take them.”
Richard Barradell for Moore said he was wearing a pot at the time having been allegedly stabbed in the arm.
Both defendants had been under curfew for months since the offences.