POLICE chased and caught a man who left flats in Ballymena and ran off when he spotted officers.
As officers pursued Connor Dunlop they saw him throw a bag into a garden which contained 15 Xanax tablets.
When searched he had a small amount of cannabis.
That happened around 11.20am on April 22 this year.
The 34-year-old defendant, of Centuripe Avenue, Ballymena, admitted charges of possessing Class B and C drugs.
The defendant was also caught with six Xanax tablets on March 24 this year. He again made off from police but was again detained.
A defence solicitor said the defendant had been on a methadone programme for several years.
He claimed the defendant was taking the Xanax to prevent being "sick" whilst taking methadone but he has "cut them right down".
Deputy District Judge Greg McCourt said it was the defendant's eighth drug conviction and warned he was on the verge of going to prison.
He told the defendant: "As you counsel says you don't want to be getting involved for a few grammes and having to go into prison for six or eight months".
The defendant was given a two year conditional discharge.