The 30-year-old remains at the heart of a major international investigation into hundreds of acts of cyber sabotage around the world. The National Crime Agency says Kaye is perhaps the most significant cyber criminal yet caught in the UK.

He added: "Paradoxically, what is urged on your behalf is that you are an intelligent young man who knows what your powers can do.

"But that makes it all the more worrying that you used your abilities to carry out this attack." Kaye wept as he was taken down.

Who is Daniel Kaye?

Kaye, from Egham in Surrey, is a self-taught hacker who began selling his considerable skills on the dark web - offering individuals opportunities to target and destroy their business rivals.

According to court papers, Kaye was hired in 2015 to attack Lonestar, Liberia's leading mobile phone and Internet Company, by an individual working for Cellcom, its competitor.

There is no suggestion that Cellcom knew what the employee was doing - but the individual offered Kaye up to $10,000 (£7,800) a month to use his skills to do as much as possible to destroy Lonestar's service and reputation.

Robin Sellers, prosecuting, told Blackfriars Crown Court that in November 2016 Kaye had built a "botnet" - a particularly powerful form of cyber attack that is designed to overwhelm a target's systems, making it impossible to carry out normal business.

This type of attack is known as a Distributed Denial of Service (DDOS). It is different to a ransom demand that locks up systems, such as the "Wannacry" attack on the NHS.

What did Kaye's botnet do?

The weapon, known as "Mirai #14" worked by secretly hijacking a vast number of Chinese-made Dahua webcams, which are used for security in homes and businesses around the world.

He identified that the cheap cameras and other similar equipment had a security flaw - and he exploited that to take over the devices without owners knowing.

That meant he could turn them into what amounted to a "zombie" cyber army to attack his target.

In November 2016, working secretly out of Cyprus and controlling the botnet via his mobile phone, Kaye ordered it to overwhelm Lonestar's systems.

On his command, hundreds of thousands of the webcams began firing data requests at the west African company. The system began to struggle to manage the demands and parts of the infrastructure crashed.

He then tried to pull in additional firepower by sending further attacks from Germany, where he had sought to hijack part of Deutsche Telekom's national infrastructure.

Researchers found that at the peak of the attack, the Mirai #14 code had compromised about one million devices worldwide.

In Liberia, mobile phone users began to see their devices go offline.

The company called in cyber security consultants who attempted to repel the attack, but by that point it was too late because the botnet ran out of control.

What charges did Daniel Kaye admit?

 Making the Mirai #14 botnet for use in a Computer Misuse Act 1990 offence Launching cyber attacks against Lonestar in Liberia - another crime under the Computer Misuse Act Possessing criminal property - relating to $10,000 found on him when he was arrested

At the time, Liberia's internet was dependent on both a small number of providers and a relatively limited Atlantic cable. European nations, by comparison, have a vastly more secure internet because traffic can reach users through many different connection routes.

Kaye had sent so much traffic at Lonestar, the entire national system jammed.

According to investigators, the country's internet repeatedly failed between 3 November and 4 November 2016 - disrupting not just Lonestar but organisations and ordinary users up and down the state.

This is believed to be the first time that a single cyber attacker had disrupted an entire nation's internet - albeit without intending to do so.

Hack attacks cut internet access in Liberia

In written submissions to the court, Babatunde Osho, Lonestar's former chief executive, said Kaye's criminality had been devastating.

"The DDOS perpetrated by Daniel Kaye seriously compromised Lonestar's ability to provide a reliable internet connection to its customers," said Mr Osho.

"In turn, Mr Kaye's actions prevented Lonestar's customers from communicating with each other, obtaining access to essential services and carrying out their day-to-day business activities.

"A substantial number of Lonestar's customers switched to competitors.

"In the years preceding the DDOS attacks, Lonestar's annual revenue exceeded $80m (£62.4m). Since the attacks, revenue has decreased by tens of millions and its current liabilities have increased by tens of millions."

How did investigators catch Kaye?

Kaye was already suspected of being behind the attack - and he was arrested when he returned to the UK on holiday in February 2017. He was carrying $10,000 which the National Crime Agency says was part of the payments he received for the Lonestar attack.

Germany asked for Kaye to be extradited - and later that year he was convicted in a Cologne court of interfering with the Deutsche Telekom system. More than 124,000 Deutsche Telekom customers had seen their services crash - including Cologne's main sewage facility.

The German authorities then extradited Kaye back to the UK to face the far more serious Liberia charges - because British law allows a cyber criminal to be prosecuted for an offence anywhere in the world.

By this time time, National Crime Agency cyber specialists had also linked Kaye's Mirai #14 botnet to attacks against three British banks - Lloyds, Barclays and Halifax - in January 2017.

The anonymous attacker had demanded payments to call off the attack. Unlike Lonestar and Liberia, the sophisticated defences at all three British institutions repelled the onslaught.

Kaye was initially charged with carrying out those attacks - but told prosecutors that while his botnet was behind the operation, he had loaned it to someone else via a dark web marketplace.

At Blackfriars Crown Court on Friday, those allegations were formally dropped. Mike Hulett, head of the National Cyber Crimes Unit at the NCA, told the BBC that investigators were still trying to get to the bottom of the full scale of Kaye's criminality around the world.

"I regard Daniel Kaye as one of the most significant cyber criminals arrested in the UK," said Mr Hulett. "He has a significant level of skill. The attacks that he carried out were not victimless."

Mr Hulett added that, to the NCA's knowledge, no cyber criminal had ever knocked an entire country off the internet through the force of one attack. At court, counsel for Kaye told the judge that the defendant did not accept the losses that Lonestar claimed to have suffered.

Jonathan Green said that Liberia's internet was limited regardless of Kaye's attack.

"We say that a relatively slow internet service became slower. It is not accepted that this was a direct threat to Liberia."

He also told the court that Kaye had received interest from major technology firms who wanted to use his skills despite the criminality.