A teenager accused of making a pipe bomb in his home today denied he intended any attack on Muslims in Bradford or anywhere else.

The 17-year-old agreed under cross-examination by Barnaby Jameson prosecuting at Leeds Crown Court that he had sent out a Snapchat message of his home-made device above an image of the Bradford skyline.

The message on it was “Incendiary explosive and home-made black powder. More to come.”

Mr Jameson put to the teenager, who cannot be identified, “You accepted in interview that it looks from the composition of the image as if an attack is imminent on Bradford.”

“And that an attack is aimed at a certain part of the population, a particular group who you have shown here as somebody with a turban and a gun to their head.”

Mr Jameson suggested the defendant had been more specific in another message in which he said: “It’s time to enact retribution upon the Muslim filth.”

“That’s what this image says doesn’t it,” he asked.

“No,” replied the teenager.

Rupert Bowers QC defending the teenager put to him in re-examination that the prosecution were claiming he intended to “carry out an attack in Bradford or somewhere else, did you intend to attack people in Bradford?”

“No,” answered the defendant.

“Did you intend to attack anywhere else?” asked Mr Bowers. “No,” said the teenager.

“Did you intend to attack some Muslims?” he was asked. “No,” he answered.

“Did you carry out your internet search how to make a pipe bomb so you could go and attack Muslims,” said Mr Bowers. “No,” replied the defendant.

“Did you make it because you intended to attack people with it”, asked his counsel. “No,” said the teenager.

He told the jury he simply put the device made from powder from sparklers into a drawer from where it was recovered.

The teenager denies a charge of preparing a terrorist act and an alternative offence of making a pipe bomb. The prosecution claim he intended to start his own race war.

Earlier the teenager told Mr Jameson he had posted National Action stickers in Bradford supporting a “white zone” but said he would not say that was a “white supremacist organisation.”

He accepted he was photographed giving a Nazi salute and had put on his Twitter account the message “Hitler was Right.”

He also agreed he had an image of Hitler on his Twitter page with the number 1488.

Mr Jameson suggested the 14 stood for the 14 word white supremacist slogan “We must secure the existence of our people and a future for white children” and the 88 was H the eighth letter of the alphabet twice standing for Heil Hitler.

The teenager agreed he told police the ideology of National Action most fitted his own and he still held National Socialist views.

His mother told the jury he had always had an interest in politics. “He had quite a few different views but with him he would be on one thing then on to something else. You never took anything serious with him.”

“He would start something and a week or so later he’d be on to something different.”

She first became aware of his right wing views about June last year but had not heard him talk about National Action. Shown the picture of him giving a Nazi salute she said it was the first time she had ever seen it.

She was also shown a picture of the teenager holding up a banner with Hitler on it and his face partly covered and said she had not seen it before.

“Did you know he was mixed up in this type of activity,” asked Mr Jameson.

“Not really no I didn’t,” she replied.

The trial continues.