A BBC journalist has been forced to delete a tweet that mocked a former SNP election candidate for being sworn into Westminster wearing a kilt.

Neale Hanvey was axed by the SNP over alleged anti-Semitic social media posts in the lead up to the General Election.

He won the vote in his seat and was elected as an independent candidate.

He was due to contest Kirkcaldy and Cowdenbeath, a key SNP target seat being defended by Lesley Laird, the shadow Scottish secretary and a key ally of Jeremy Corbyn. It is one of the UK’s most marginal constituencies, with a Labour majority of just 259 votes.

READ MORE: SNP, Labour and Tory candidates axed over alleged racism

Hanvey previously promoted a website article featuring a cartoon of the Jewish billionaire George Soros as a puppet-master.

The SNP withdrew all support for the candidacy of the former group leader on Fife Council, and said he had been suspended pending disciplinary action.

Hanvey was sworn in wearing full Scottish regalia.

After a tweet by Westminster reporter Paris Gourtsoyannis, saying Hanvey was on his way to be sworn in wearing Scotland's national dress, BBC reporter Andrew Picken made light of the situation.

He tweeted a GIF of comic character 'Fat B*****d' from Austin Powers in the full regalia.

The National:

Picken then deleted the tweet after backlash on Twitter.

Picken said: "Just deleted a reply to a tweet about MPs being sworn in. It was a – poor – attempt at humour and I didn't mean any offence by it."

Ann Christie said: "Why would you want to mock that person anyway? Because he chose to wear a kilt? Because he is an Independent MP who won the seat despite being suspended? Because he has had a fairly hellish 4 weeks? Why?"

One Twitter user questioned whether people in London had seen a kilt before. 

Another commented: "My MP Neale Hanvey, standing as an Independent wearing our Nation's kilt made most Scots proud, why would you and that absolute cretin @BBCandrewpicken think it is a joke, it is an insult to #Scotland and its people and our long history and culture."