The House and Senate on Thursday passed new legislation overhauling the process for handling sexual harassment claims on Capitol Hill, one day after the announcement of a joint agreement on the measure. The legislation will head to the White House for President Donald Trump’s signature.

[Read the bill text]

Senate Rules and Administration Chairman Roy Blunt of Missouri led the passage of the bill, by unanimous consent. Blunt worked with the panel’s ranking member, Sen. Amy Klobuchar, D-Minn., along with party leaders and several House members on the deal.

“This was something we had to get done by the end of the year. Getting rid of that cooling off period, getting rid of a lot of the … byzantine way these cases were being handled,” Klobuchar said. “This is going to be better for victims, and I’m proud that the Senate has come together on a bipartisan basis to get this bill done.”

Watch: Senate Quickly Passes Sexual Harassment Bill By Unanimous Consent