A man tried to throw away £470 worth of cocaine when police found him sleeping in a car at the carpark at McDonald’s Restaurant in Coleraine.
However, police recovered the drugs during the early morning incident on May 15 this year, Coleraine Magistrates Court heard on Monday.
Cathair McKendry (20), with an address at Mill Street in Cushendall, pleaded guilty to possessing Class A cocaine.
Defence solicitor Garrett Greene said the defendant made full admissions.
The lawyer said his client has been attending a drug addiction service.
The defendant was fined £500.