New South Wales police have dropped all charges against former Greens candidate protester Hannah Thomas who was arrested at a protest in June.

Thomas was arrested and charged alongside four others at a pro-Palestine protest in Sydney on 27 June that was attended by about 60 people at SEC Plating. The 35-year-old was taken to hospital and underwent two rounds of surgery to her right eye, with her lawyers alleging a police officer punched her in the face.

On Tuesday before Bankstown local court, the office of the director of public prosecutions said it was dropping the three charges against the former Greens candidate. One of the charges included a rarely used emergency power introduced in the wake of the 2005 Cronulla riots.

The former Greens candidate for the seat of Grayndler had pleaded not guilty to three charges: resisting police, failure to comply with a move on direction, and refusing or failing to comply with a direction to disperse.

More details to follow