Bristol mayor George Ferguson has waded into the social media row over a tweet from a trainee stockbroker who claimed to have hit a cyclist, saying the tweet had "chilling echoes of 60's Deep South racism".

Posting under the Twitter name 'Ray Pew' (say it quickly), Rayhan Qadar, 21, from Bristol said: "Think I just hit a cyclist. But Im late for work so had to drive off lol."

Protests from Twitter users who feared Qadar was another Emma Way brought the account to the attention of a news agency which found out that Qadar worked for Hargreaves Lansdown.

After Hargreaves Lansdown became aware of Qadar's account, he was sacked. Road.cc understands that the content of Qadar's timeline and the name 'Ray Pew' were substantial factors in the decision to dismiss him.

Cycling campaigner and executive editor of Bikebiz Carlton Reid saw the account and said: "He posted a great deal of anti-Semitic stuff. Homophobic, too."

Linking to the Guardian's coverage of Qadar's sacking, George Ferguson tweeted: "'Stockbroker hit #cyclist' tweet has chilling echoes of 60's Deep South racism. We must develop greater tolerance"

Reactions to Ferguson's comments were polarised.

Natalie Jester said: "You're joking? Cyclists aren't lynched." and Death Valley Dave called Ferguson's comments "a ridiculous comparison that trivialises racism and the fight against it. Offensively ignorant."

Asked by Bristol Post reporter Katie Pavid to explain what he meant, Ferguson tweeted: "Casual 'jokes' of this nature about harming people conceal a deep hatred. Many cyclists feel they have become the target of hate".

Criticism of Ferguson's comparison continued, but there were messages of support too.

Bristol_Bond said: "Thank you for the hard look at disrespect/intolerance and perils of it becoming commonplace. Too many look the other way."

Biddyonabike said: "In context of other tweets when motorist really has hit cyclist, @GeorgeFerguson is spot on. Too many haters."

This morning Ferguson conceded that the comparison had upset some.

Community radio station BCfm asked: "Were @GeorgeFergusonx 's comments about the deep south offensive? #cyclists"

Ferguson replied: "I deplore all forms of discrimination – I don't equalise them, but a 'joke' about harming a cyclist is unacceptable."

From the account of its breakfast show the station said: "We agree George but so was your comparison, just apologise for offence and let’s move on"

Ferguson replied: "I apologise for causing any offense – was never my intention to equate both forms of intolerance."

Meanwhile an online petition is calling for Qadar to be given a "proper disciplinary", and in comments on that petition someone claiming Qadar is their brother says he was not driving but walking to work.

Petition creator Nazim Uddin from Uxbridge said: "In a country of free speech, we should be able to tweet jokes, whether in bad taste without worrying if we'll lose our jobs because of it."

Maisha Qadar commented: "What has happened to my big brother is totally unfair. His tweet was simply a joke that was unnecessarily exaggerated. At the time of the tweet he was just walking to work, no cyclist involved!!"

A spokesperson for Hargreaves Lansdown said the company had no comment to make on the petition.