A teenager has been jailed after he tried to buy a vehicle bomb from the dark web in an attempt to blow up his parents.
In July, Randhawa pleaded guilty to attempting to import explosives and was convicted at Birmingham Crown Court in November.
Gurtej Randhawa, 19, was arrested after he took delivery of what he believed was a remotely detonated explosive in May a year ago.
Sentencing Randhawa, Mrs Justice Cheema-Grubb told Randhawa: "This was an offence of astonishing audacity".
"I have no doubt that this offence was motivated by your desire to live with your girlfriend and attend university together".
"You are plainly highly intelligent and capable of determined manipulation".
Randhawa paid for the bomb using crypto-currency and arranged for its delivery to an address away from his home.
It is not clear whether he had successfully ordered an explosive device on the dark web, or whether the person he believed he was buying the device from was an undercover officer or how police detected the sale, which typically would be through encrypted channels.
The court was also told that the former pupil from Wolverhampton Grammar School had accepted an offer to study medicine at Liverpool University.
"He denied he planned to use the explosives to cause injury but the CPS demonstrated to the jury that this was a lie and Randhawa was observed attempting to test his device before being arrested".
Fearing his parents would try to end his relationship, Randhawa tried to purchase a Vehicle Borne Improvised Explosive Device (VBIED) - or a auto bomb, from a website called AlphaBay, on the dark web.
Randhawa was expecting what he believed was a remotely detonated explosive in May past year, but officers replaced the package with a safe dummy device.
Tim Gregory, from the NCA's Armed Operations Unit, said Randhawa's actions showed "he is someone who poses a significant risk to the community". "Identifying people like Randhawa - who seek to access illegal firearms and weapons - is a priority for the NCA and we will not stop in our efforts to make sure they are arrested and held accountable for their actions", he said.
Two women - aged 45 and 18 - were arrested at the same time but have since been released with no further action.