NSW Labor's general secretary Jamie Clements has resigned after becoming embroiled in a sexual harassment scandal.
"While I have done nothing wrong, I have made this decision in the best interests of the party and my family," Mr Clements said in a statement on Thursday evening.
The resignation comes after acting NSW opposition leader Linda Burney called for him to step down over allegations made by Stefanie Jones, who accused of him assaulting at her at a party function last year.
Ms Jones on Wednesday agreed to drop an application for an apprehended violence order against Mr Clements, sparing both the Labor party and its general secretary from a potentially damaging hearing.
Mr Clements said last year's police investigation and a separate independent investigation had cleared him of any wrongdoing.
"I agreed to undertakings in order to spare the party, my family and all those involved, a difficult and traumatic legal process," he said.
"Those undertakings were made on a strictly no admissions basis."
Mr Clements said he had maintained a "dignified silence" throughout the process and was disappointed others had chosen to use the media to "pursue their agenda" - a reference to a newspaper interview Ms Jones' made where she claimed there was a misogynistic culture in the Labor party.
"But no individual is bigger than the party which I have served for 18 years and I do not want the party to be distracted from its focus of winning the 2016 federal election," he said.
The pressure on Mr Clements to resign began earlier on Thursday after federal Labor leader Bill Shorten called on the NSW branch to prepare an urgent report on the allegations.
Acting state leader Linda Burney turned up the heat soon after, as she called on the former party boss to step down as he met with senior party officials at Labor headquarters in Sydney.
Ms Burney said the matter would only be resolved if Mr Clements resigned.
"While there are clearly two different versions of events, this matter needs to be resolved now in the interest of the party and its members," she said.
Mr Clements handed in his resignation effective from 5pm on Thursday.
NSW Labor's current assistant secretary, Kalia Murnain, is believed to be replacing Mr Clement.