The former leader of right-wing group the English Defence League has been arrested after he tried “to video Muslims” outside a court.

Tommy Robinson posted a video on his official Facebook account on Wednesday morning, in which he claimed the arrest was being made.

He said: “It’s 4.32 and the police are at my house, and I’m being arrested for going to a court case in Canterbury and trying to video the Muslim paedophiles.”

The clip then cuts footage of two police officers stood in what appears to be a kitchen, one of whom explains to Robinson that he can’t use his phone.

A tweet posted from Robinson’s verified Twitter account said that he was arrested “on charges relating to attempted journalism.”

Kent Police confirmed an arrest was made.

A spokesman said: “On the morning of Wednesday May 10, 2017 officers attended an address in Luton, Bedfordshire, and arrested a 34-year-old man for contempt of court.

“The arrest is in relation to an incident at Canterbury Crown Court on Monday 8 May 2017.”

Any filming and recording of courts and court precincts is illegal in the UK under section 41 of the Criminal Justice Act 1925 and the Contempt of Court Act.

Kent Live reported that Robinson and a cameraman were at Canterbury Crown Court on Monday claiming they wanted to speak to the defendants of an ongoing rape trial.