A bill that makes sweeping changes to the state’s sexual harassment laws was approved on Monday by Gov. Andrew Cuomo.

The centerpiece of the legislation is a narrowed definition of sexual harassment in the workplace, replacing the “severe or pervasive” standard that advocates and lawmakers have argued is too broad and does not cover a range of conduct.

The legislation largely came about through the advocacy of a group of former state government staffers who are victims and survivors of sexual assault, abuse and harassment themselves. The Sexual Harassment Working Group this year successfully pushed for a series of public hearings on the issue, which also came amid a societal reckoning surrounding sexual misconduct.

“There has been an ongoing, persistent culture of sexual harassment, assault and discrimination in the workplace, and now it is time to act,” Cuomo said in a statement.

“By ending the absurd legal standard that sexual harassment in the workplace needs to be ‘severe or pervasive’ and making it easier for workplace sexual harassment claims to be brought forward, we are sending a strong message that time is up on sexual harassment in the workplace and setting the standard of equality for women.”

The new law also includes provisions that require non-disclosure agreements in employment contracts include language that allow workers to still file a harassment or discrimination complaint with a government agency and testify in a government investigation.

At the same time, the measure bars the use of mandatory arbitration to resolve discrimination and harassment cases in the workplace and sets in motion a study to build on recent sexual harassment prevention measures.

“No one should have to endure sexual harassment or mistreatment in the workplace,” said Senate Majority Leader Andrea Stewart-Cousins. “For too long, our state was held back from making real progress in the fight against sexual harassment.”