POLICE saw a man making a "suspicious transaction" at a parked car but he made off on a bicycle and then tried to escape onto a railway line.
Vaughan Stephen Allision (36), of Thyme Park, Antrim, came to police attention at on July 24 this year.
A prosecutor said police were on mobile patrol around 8.40pm at Fountain Hill in Antrim and saw the defendant "acting suspiciously".
He was "involved in what appeared to be a suspicious transaction with a vehicle on the side of the road".
Police put on lights and siren and pulled up but Allison attempted to get away on a bicycle.
When stopped he "attempted to descend onto the railway tracks below".
He "struggled forcefully for a considerable period of time" with police in an attempt to flee.
Police found he had two grammes of cocaine in his pocket which he said was for "personal use".
Defence barrister Neil Moore said the court appearance might be "lesson enough" for Allison.
At Antrim Magistrates Court, sitting in Ballymena, Vaughan admitted charges of possessing cocaine; assaulting a police officer and resisting another officer.
The defendant, who had a record, was given a three months jail sentence, suspended for a year.