A County Tyrone boy can return home after the Department of Health issued an emergency licence allowing doctors in Belfast to treat him with medicinal cannabis.
Billy Caldwell, who is severely epileptic, has been receiving treatment in London.
The department replicated the licence issued in June by the Home Office.
Billy and his mother Charlotte are expected to return to Northern Ireland on Thursday afternoon.
On Tuesday, the government said it would reach a decision within the next few weeks on whether laws around medicinal cannabis would be changed.
Billy's story was one of a number of high-profile cases which prompted the government to review the its use.
On Wednesday, the Department of Health in Northern Ireland received an emergency licence application from Belfast Trust clinicians regarding medicinal cannabis use for Billy.
"We have also been in discussions with the Home Office to finalise arrangements for the immediate transportation of Billy's medicine from London to the Belfast Trust," a Department of Health statement said.
Billy began using cannabis oil in 2016 to control his seizures.
The oil, which contains a substance called Tetrahydrocannabinol (THC), is illegal in the UK but available elsewhere.
Does cannabis have medicinal benefits?
CBD and Tetrahydrocannabinol (THC) are two types of cannabinoids found naturally in the resin of the marijuana plant.
A cannabis-based drug called Sativex has been licensed in the UK to treat MS. It contains THC and CBD.
Doctors could, in theory, prescribe it for other things outside of this licence, but at their own risk.
MS patients prescribed Sativex, who resupply it to other people, also face prosecution.
Another licensed treatment is Nabilone. It contains an artificial version of THC and can be given to cancer patients to help relieve nausea during chemotherapy.
Source: NHS Choices