WASHINGTON — The Senate on Wednesday overwhelmingly approved a stalled bill to fight human trafficking, freeing members to consider the nomination of Loretta E. Lynch to be the next attorney general.
The 99-to-0 vote moved the chamber past legislation that had been delayed for about six weeks, since Democrats withdrew their support for the bipartisan bill over an anti-abortion provision. Senators finally reached a compromise on that provision on Tuesday.
Though not related, the fate of the trafficking bill became entwined with Ms. Lynch’s nominationwhen Senator Mitch McConnell of Kentucky, the majority leader, said he would not schedule a confirmation vote on the attorney general nominee until the Senate finished the trafficking bill.
The Senate is scheduled to vote to move forward on Ms. Lynch’s nomination on Thursday morning, with a confirmation vote expected to follow in the afternoon.
In other Senate action, the Finance Committee late Wednesday approved a bill to give President Obama special authority to finish negotiating a huge trade accord with Pacific Rim nations. The debate on the “fast track” legislation, which is opposed by many liberal lawmakers and labor groups, will shift to the House on Thursday.
The Senate trafficking bill, which was intended to increase penalties for perpetrators and support for victims, particularly the preadolescent girls who are targeted, would also strengthen the ability of law enforcement to investigate trafficking, including through the expanded authority to intercept communications. It would also make patrons of traffickers equally responsible for the crimes, imposing harsher punishments on the so-called johns.
“This has been a long, strange journey here to final passage, but here we are, and we’ve kept our focus all along on the victims,” Senator John Cornyn, Republican of Texas and the bill’s main sponsor, said on the floor shortly before the final vote.
Senator Ted Cruz, also a Texas Republican, was not present for the vote.
The bill will now need to be worked out with the House, which passed another version of the legislation that did not include a victims’ fund, among other differences.
As senators voted on amendments to the trafficking bill, about two dozen black men showed up at the office of Mr. Cornyn, who is the Republican whip, demanding to speak to him about the delay in the confirmation vote on Ms. Lynch. Now the United States attorney for the Eastern District of New York, Ms. Lynch would become the first black woman to serve as attorney general. With the stated support of at least five Republican senators, she is expected to be confirmed, ending her more than five-month wait since being nominated — the longest of any cabinet secretary in the past three administrations.
“More Americans are doing more stuff, but somehow this Senate can’t actually do two things at one time? That makes no sense,” said Roland Martin, a commentator and host on TV One, and an organizer of the demonstration. “It’s not just about if you’re heard. It’s, ‘Dammit, get to work.’ ”
The Obama administration took one last dig at Senate Republicans Wednesday, with Eric Schultz, the deputy White House press secretary, telling reporters that Ms. Lynch had been “waiting longer than it took to write the Constitution to be confirmed by the United States Senate.”
On Wednesday, senators waded into a sea of amendments to the trafficking bill. Among those approved was one that would require the secretary of defense to identify to the attorney general those prosecuted under the military justice system who are required to register as sex offenders, while another would increase grants to states that have laws terminating the parental rights of those who father children through rape.
An amendment introduced by Senator Patrick J. Leahy, Democrat of Vermont, that would have increased protections for homeless children, said to be the most vulnerable to traffickers, ultimately fell short of the 60 votes it needed to pass.
The Senate started its day Wednesday by unanimously approving the changes to the bill, worked out primarily by Mr. Cornyn and Senator Patty Murray, Democrat of Washington.
The deal would address Democrats’ concerns that the legislation would expand the Hyde Amendment, a law that prevents taxpayer dollars from being used to pay for abortions, by essentially splitting in two a victims’ fund created in the bill. Fines collected from trafficking offenders would go toward non-health care services, while federal money for community health centers — subject to the Hyde Amendment — would provide the rest. Many victims would be able to obtain abortions under the laws’ exemption in cases of rape.
“I know that Senator Cornyn and many others agreed with us that an effort to fight back against human trafficking in our country is, without question, no place for gridlock and dysfunction,” Ms. Murray said on the floor. “It certainly shouldn’t have taken this long.”