EDINBURGH Labour councillor Scott Arthur has been forced to defend himself against accusations of Islamophobia, after he launched a “cynical” attack on Justice Minister Humza Yousaf’s reasons for entering frontline politics.

Late on Wednesday night, Arthur posted a poll on Twitter asking his followers if they thought Yousaf came in to politics because of the “9/11 attacks”, “the Iraq War”, or the “photo calls”.

The question infuriated users on the social media site, many of whom accused the bullish Labour councillor of Islamophobia.

WATCH: Labour MP seems to forget he’s a Labour MP on Sky News

Yesterday morning Arthur apologised and deleted his tweet, saying that he was merely trying to highlight inconsistencies in interviews given by Yousaf on why he had entered politics.

Glasgow SNP councillor Mhairi Hunter told Arthur “it was mad to put that tweet out without any of that context.”

She added: “It’s not just about Humza, it’s about any Muslim thinking about entering public life & seeing random comments linking Muslims to 9/11.”

Arthur replied saying it was an “honest mistake”.

In a blog post the councillor said: “I got around to tracking down reports I had seen earlier in the day that Humza Yousaf had (apparently) been inconsistent in explaining why he became politically active. In one interview he had cited the 9/11 attacks and in an earlier one he gave the Iraq War as a reason (2 not unconnected things IMHO).

“In a move which I accept was cynical, I created a Twitter poll to highlight this. My decision to do this was not based on his or my race. I woke this morning to find a number of people genuinely found my survey offensive. Offending anyone was not my intention – particularly Humza Yousaf. I can see that placing the survey on Twitter without the context of the two arguably contradictory interviews was a mistake. Context is key. Let me be clear – this is an unreserved apology.”

Yousaf responded on Twitter this morning, saying he will write to the leader of the Labour group on Edinburgh Council, Cammy Day, to “ask if he will take any action” against the councillor and to ask him to tell the capital’s “Muslim community that Cllr Arthur’s tweet was not consistent with the views of the Edinburgh Labour Group”.

Arthur’s original tweet was “liked” by Scottish Labour MP Paul Sweeney, though he later claimed that was an accident. “A case of a slipped thumb while scrolling I’m afraid,” he said.

The party promised an inquiry.