A man had cocaine worth £1.2million when he was snared by police.
Ian Caulfield was held when a Mercedes Sprinter van he was driving was stopped on the M74.
Prosecutor Bill McVicar told the High Court in Glasgow that a haul of blocks of white powder were discovered in the vehicle.
These were later found to contain cocaine.
Caulfield, of Larkhall, today pled guilty to being concerned in the supply of the drug when he was caught on the Lanarkshire stretch of the road near Abington on July 23 last year.
His lawyer John Scullion QC told the hearing: "He is someone who previously had his own difficulties with the misuse of cocaine.
"This resulted in him owing money to others. He became involved in this in an attempt to repay the debt.
"The vehicle involved had been borrowed from a friend."
Lord Richardson deferred sentencing until August 30 in Edinburgh.
Caulfield had been on bail prior to appearing in the dock.
But, the judge told Caulfield: "I will remand you in custody meantime."