An Australian senator has been censured by his colleagues for seeking to blame the victims of last month's mosque shootings and vilify Muslims.
Senator Fraser Anning was the target of widespread condemnation for blaming the attack in New Zealand on immigration policies.
He faced more criticism later for physically striking a teenager who cracked a raw egg on his head in a viral incident in Melbourne.
On Parliament's second sitting day since the March 15 attack, in which 50 people died, government and opposition politicians moved the censure motion against Mr Anning for divisive comments "seeking to attribute blame to victims of a horrific crime and to vilify people on the basis of religion, which do not reflect the opinions of the Australian Senate or the Australian people".
"Senator Anning's comments were ugly and divisive.
"They were dangerous and unacceptable from anyone, let alone a member of this place," Government senate leader Mathias Cormann told the Senate.
Mr Anning dismissed the censure motion as an attack on free speech.
"It is also an exercise in left-wing virtue signalling of the worst kind," he told the Senate before the vote.
He sits as an independent politician after defecting from the anti-Muslim One Nation party, whose two senators abstained from the censure vote.
I stand by my comments on Muslim immigration. Despite all the left wing hysteria today, no one actually argued against what I said, because it is 100% true.— Fraser Anning Official (@fraser_anning) April 3, 2019
Countries that had increased Muslim immigration had increased crime and terrorism.
Sweden, Germany, UK, France etc.
One Nation Senator Peter Georgiou read a speech on behalf of party leader Pauline Hanson, who was absent.
Ms Hanson said, while Mr Anning's comments were "untimely and therefore deemed highly insensitive, he still maintains a right to his opinion".
"If One Nation endorses your action to censure Senator Anning, your freedom of speech as elected members of this chamber will be removed," the speech said.
A day after the Christchurch attacks, Mr Anning faced more criticism for physically striking the teenager who cracked an egg on his head at a Melbourne public appearance, 17-year-old Will Connolly, who became known around the world as Egg Boy.
Mr Anning criticised prime minister Scott Morrison for saying at the time that Mr Anning should "be subject to the full force of the law" for his retaliation against Will.
Police investigated the altercation but no charges have been announced.
"It might have only been an idiot with an egg this time, but there is a continuum that begins with this and ends with a fanatic with a gun or a bomb," Mr Anning said.
"But apparently, according to prime minister Morrison, that's OK, as long as the victims are conservatives," he added.
The minor Greens party later failed to win majority support for a motion for the Senate to suspend Mr Anning.
Fraser Anning does not deserve to be in parliament.— Mehreen Faruqi (@MehreenFaruqi) April 3, 2019
I have no doubt the community will make sure he is not re-elected in May and I will be doing everything in my power to consign his awful views to the history books where they are so clearly from and where they truly belong. pic.twitter.com/CUrTNx6wFY
Mehreen Faruqi, a Pakistan-born Greens senator, produced an online petition to the Senate with more than 1.4 million signatures calling for Mr Anning to resign.
She argued that he should be suspended as well as censured.
"It is terrifying that right-wing extremist groups have a found a mouthpiece in Federal Parliament," Ms Faruqi told the Senate.
An Irish-born politician who criticised British policy toward his homeland in 1920 became the only Australian legislator to be expelled from Parliament by a vote of colleagues.
Senate President Scott Ryan warned that laws had been tightened in the 1980s so that suspending Mr Anning could be challenged in the courts.
After New Zealand prime minister Jacinda Ardern previously called Mr Anning's comments on the shootings "a disgrace", her deputy Winston Peters on Tuesday called Mr Anning a "jingoistic moron".
Mr Anning came under blistering criticism over tweets within hours of the massacre, including one that said: "Does anyone still dispute the link between Muslim immigration and violence?"
"The real cause of the bloodshed on New Zealand streets today is the immigration programme which allowed Muslim fanatics to migrate to New Zealand in the first place," he said in a later statement.
Australian white supremacist Brenton Tarrant has been charged with murder in the shootings and is due to appear in a New Zealand court on Friday.