A BABY-FACED terrorist jailed for life today for plotting an I.S.-style terror attack uploaded a chilling post to social media, asking: "Cardiff are you prepared?"

Lloyd Gunton, 17, from the Llantrisant area of south Wales, intended to strike on the day of a Justin Bieber concert in the Welsh capital.

8 Lloyd Gunton, 17, plotted an I.S.-style terror attack on the Welsh capital Credit: PA:Press Association

He was convicted of preparing for terrorist acts after a nine-day trial at Birmingham Crown Court in November and today handed a life sentence with a minimum term of 11 years.

Sentencing the former A-level student, Judge Mark Wall QC said: "At the time of your arrest you were within hours of committing an act of atrocity on the streets of Cardiff.

"It is not possible to estimate how many people would have been murdered or seriously injured by your actions as the attack was foiled before you could undertake it.

"I am sure that you planned not just the killing of one person but rather mass murder."

8 On chilling post Gunton uploaded to social media showed a photo of Cardiff castle and a bomb with the words: 'Cardiff are you prepared'

8 Another chilling post featured a suicide belt with the word Cardiff on it

8 Cops also found a hammer in Gunton's bag when he was apprehended Credit: PA:Press Association

8 A knife that was found on the Gunton at the time of his arrest Credit: PA:Press Association

His trial was shown chilling posts the would-be-attacker uploaded to social media.

One showed an image of a bomb, jeep, knife and an IS flag superimposed on a photo of Cardiff castle.

Accompanying it was the caption: "Cardiff are you prepared?"

Another showed a suicide belt with the word Cardiff on it.

8 A 'martydom letter' was also found in Gunton's rucksack when he was arrested Credit: PA:Press Association

8 The teenager researched security around the gig at Cardiff's Principality Stadium Credit: Wales News Service

His Instagram account - where he posted the pictures - had the password "Truck Attack".

Another image was captioned: "Oh my Islamic state brothers you are the role models of these worlds. The attack on Cardiff will be deadly."

Gunton conducted more than 2,000 searches over a year including "Cardiff terrorist attack", "how to create a terror attack" and "how to pledge allegiance to ISIS".

He was found to have researched the murder of Lee Rigby and images of the truck attack in Nice and Berlin were on his phone.

8 The Canadian pop star played at the venue on June 30 Credit: Getty - Contributor

He was arrested just hours before the gig by the megastar at Cardiff's Principality Stadium on June 30 after searching the internet for details of the venue's security.

The teen, who hid a hammer and knife in his school bag and wrote a "martyrdom letter" after being radicalised online, was convicted of preparing for terrorist acts following a nine-day trial at Birmingham Crown Court.

In total the teenager, who lived with his dad and step-mother at a farm in the Welsh valleys - just 13 miles from Cardiff - was convicted of five terror offences, which he had denied.

MOST READ IN NEWS Breaking LAST ORDERS Pubs to close at 10pm across England as covid alert level RISES to 4 Latest STAY AT HOME £500 for low-income Brits to self-isolate and stop spread of coronavirus HIT & SCUM Hit & run driver ploughs in to man - only to find later it was her father-in-law VIRAL SPREAD Coronavirus map of England revealed - as cases rise for majority of country GRINCHES Mum reveals HUGE Xmas gift haul for daughter - but some parents brand kid 'spoilt' 'I'LL END UP DEAD' Moment Snapchat idiot hangs out of '110mph' car on M25 - and falls out

At the start of the his trial it emerged Gunton had written a note apparently aimed for distribution after his death reading: "I am a soldier of the Islamic State and I have attacked Cardiff today because your government keep on bombing targets in Syria and Iraq.

"There will be more attacks in the future."

Sue Hemming from the CPS said: "This teenager's behaviour over many months leaves no doubt that he intended to kill and maim as many people as possible in an attack reminiscent of the incident on Westminster Bridge."

We pay for your stories! Do you have a story for The Sun Online news team? Email us at tips@the-sun.co.uk or call 0207 782 4368 . We pay for videos too. Click here to upload yours.