The two legislative staffers who accused former Assemblyman Vito Lopez of sexual harassment have reached a settlement with the one-time Brooklyn power broker, the state government and former Speaker Sheldon Silver, their lawyer on Thursday announced.

The settlement amounts to $580,000. Under the terms, the state will pay former Lopez staffers Victoria Burhans and Chloe Rivera $545,000, while Lopez himself will pay $35,000.

The agreement is subject to the approval of state officials.

“The settlement agreements do not contain any confidentiality provisions or any restrictions as to what my clients may say,” said attorney Kevin Mintzer in a statement. “Ms. Burhans and Ms. Rivera have authorized me to release the attached statement on their behalf. They do not plan on participating in interviews at this time.”

The settlement comes after Silver’s office settled a separate harassment claim made against Lopez for $103,000 of state funds — an agreement that was kept confidential.

Silver had apologized for keeping the matter a secret, which allowed Lopez to hire new staffers, who subsequently accused him of more harassment and abuse.

Ethics regulators in 2013 found Lopez had broken the state’s public officers law and fined him $330,000.

Newly elected Assembly Speaker Carl Heastie this week vowed to enact a “zero-tolerance” policy for sexual harassment cases, which in the last several years engulfed three state lawmakers no longer in the Assembly.