A man who hid his support for extremist data on a James Bond-style cufflink as he created an online hub of information for terrorists all over the world has been jailed for eight years.

Samata Ullah, 34, created a "one-stop shop" for terrorists from his bedroom in Cardiff, offering a range of guidance on how to stay one step ahead of police and security services.

At the time of his arrest in the city on September 22 last year, he had USB cufflinks with a Linux operating system loaded on it and a hoard of extremist data including 15 copies of the IS propaganda magazine Dabiq.

The court heard he had advised others not to store incriminating information on computers and recommended using USB sticks to keep it away from "the prying eyes of authorities".

Ullah was jailed at the Old Bailey after he admitted five terror offences, including membership of IS, training and preparation of terrorist acts.

He was handed an extended sentence of eight years in jail with a further five years on extended licence.

Commander Dean Haydon, head of the Metropolitan Police's counter-terrorism command SO15, said: "It is the first time we have seen anything on this scale.

"He had set up a self-help library for terrorists around the world and they were using his library.

"There was guidance on encryption, ways to avoid detection from police and security services, expert tuition around missile systems and a vast amount of propaganda.

"He was self-taught. He has accessed it online himself and compiled a lot of material and put it into his own library. He has created a one-stop shop for terrorists.

"In my view he was a very dangerous individual although he was operating from his bedroom.

"We know Daesh were using that material to both seek guidance and instruction."