National Party MP Jo Hayes has apologised for sending a "vile" tweet to a member of the public.
A late Friday night tweet that appeared on an account belonging to Hayes, a list MP based in Christchurch, attacked another user of the site who'd posted a picture from his graduation.
"OMG Youre such a nasty person and i hope that people checking you out for future work will visit your twitter page and see how ugly you really are [sic]," Hayes told Jeremy Greenbrook-Held, seemingly unprompted, just before 11pm.
The target of the vitriol had tweeted about completing his studies after seven years, which he began after struggling to find a new job. The tweet was five months old.
There was initially confusion as to whether the account the tweet was sent from was real, with other Twitter users finding a second account that also appeared to belong to Hayes.
But she's confirmed to Newshub it was real.
"I should not have sent this tweet," the MP, ranked 36th on the National list at the 2017 election, said. "I will delete it and I'm sorry for any offence caused."
Other Twitter users were aghast at the attack.
"How disgraceful. What on earth prompted this nasty outburst?" wrote one person.
"Joanne Hayes must have been chugging back the Sav on a Friday night to come up with such a disgraceful tweet," said another.
"Is this part of your party's orchestrated use of alt-right [social media] tactics or are you just nasty?" a third wrote.
"Dear Joanne - your rude, vile & COMPLETELY unjustified tweet is being shared all over social media right now - nice work, but you better start looking for another career," another said.
Greenbrook-Held later tweeted a screenshot of Hayes' tweet, saying, "Ahh ok @johayesMP".
Earlier this month Hayes made headlines when she said benefit cuts would be good for Māori, and earlier this year when she accepted a petition to Parliament calling for an end to the teaching of gender diversity in New Zealand schools.