Pakistani pacer Mohammad Asif's 19-day ordeal eventually came to an end on Thursday after the authorities in Dubai decided to release him from detention for carrying contraband drugs.
He will be deported to Pakistan on Thursday night or early Friday morning, Dr Zafar Ali, media chancellor of the Pakistan Embassy in UAE, said.
"The public prosecutor has decided against pressing any charges against Asif as such and it has been decided to deport him immediately," Zafar said.
Asif was in detention since June 1 when he was caught with contraband drugs at Dubai airport on his way back home from India after playing in the Indian Premier League.
Another official of Pakistan's embassy in Dubai, Salahuddin Khan, said the paper work for the cricketer's deportation was complete.
"We are hopeful that Mohammad Asif will be released before midnight in Dubai," said Salahuddin, who was assisting Asif on behalf of the Pakistan Cricket Board.
The news of Asif's deportation will also bring some relief for the PCB.
The PCB has said it will hold its own internal inquiry once Asif returns home but refused to comment any further on the issue insisting they still did not know all the facts of the incident.
Forensic examinations had confirmed that Asif was in possession of the banned recreational drug opium.
It is believed that Asif had 0.24 grams of opium in his wallet when he was transiting through Dubai en route to Pakistan from India.
In the past, several celebrity figures have been detained by the airport authorities in Dubai for possession of a small quantity of drugs. A few have been sentenced and served it while others were sentenced but then pardoned and sent back home.