After a year rocked by the #MeToo movement and months of negotiations, Congress is on the verge of reforming its own sexual harassment regulations.

House and Senate negotiators reached an agreement Wednesday to overhaul congressional regulations governing sexual harassment, clearing the way for a vote on the measure in both chambers over the next two weeks, before Congress adjourns for the year.

Under the terms of the compromise announced Wednesday, members of Congress would be held personally liable for sexual harassment and retaliation settlements, requiring them to reimburse the Treasury. It would also publicly identify members of Congress settle harassment claims, along with any settlements.

“I think it will send that message that there is zero tolerance for bad behavior,” Rep. Gregg Harper, R-Mississippi, the chairman of the House Administration Committee, told ABC News.

Rep. Gregg Harper, R-Miss., attends a news conference after the House Republican Conference meeting in the Capitol, Nov. 29, 2017.(Tom Williams/CQ Roll Call/Getty Imagess) Rep. Gregg Harper, R-Miss., attends a news conference after the House Republican Conference meeting in the Capitol, Nov. 29, 2017.

The agreement would also extend harassment protections to unpaid staff, including interns and congressional fellows, and create an electronic system for processing sexual harassment claims.

The deal announced by Sens. Roy Blunt, R-Missouri, and Amy Klobuchar, D-Minnesota, split from the House-passed overhaul legislation on several key provisions: Lawmakers will not be on the hook for discrimination settlements, and congressional staff who come forward with claims will not be provided free legal counsel, as the House bill mandated.

Sen. Roy Blunt conducts a news conference after the Republican Senate Policy luncheon in the Capitol, Jan. 9, 2018.(Tom Williams/CQ-Roll Call,Inc./Getty Images, FILE) Sen. Roy Blunt conducts a news conference after the Republican Senate Policy luncheon in the Capitol, Jan. 9, 2018.

Rep. Jackie Speier, D-California, one of the leaders on the House bill earlier this year, is working to introduce bipartisan legislation in the next Congress that will include the provisions that didn't make it into the Senate bill, according to an aide. She is also exploring whether some of those provisions could also be implemented in the House rules for the next Congress.

Jackie Speier attends a news conference in this Jan. 6, 2016 file photo.(Tom Williams/CQ Roll Call via Getty Images, FILE) Jackie Speier attends a news conference in this Jan. 6, 2016 file photo.

Congress has already made a number of changes to policy this year to address concerns about sexual assault and workplace harassment, including requiring mandatory anti-harassment training for members, staff, interns and congressional fellows in each session of Congress.

A handful of members of Congress have stepped down or retired this year as a result of sexual harassment and misconduct allegations. In recent years, Congress has spent hundreds of thousands of dollars in taxpayer funds spent to settle sexual harassment claims.