[ FOR AUSTIN ]

On the confirmation of B. Todd Jones as director of the Bureau of Alcohol, Tobacco, Firearms and Explosives:

John Cornyn (R), N

Ted Cruz (R), N

[ FOR ATLANTA ]

On the confirmation of B. Todd Jones as director of the Bureau of Alcohol, Tobacco, Firearms and Explosives:

Johnny Isakson (R), N

Saxby Chambliss (R), N

[ FOR OHIO ]

On the confirmation of B. Todd Jones as director of the Bureau of Alcohol, Tobacco, Firearms and Explosives:

Sherrod Brown (D), Y

Rob Portman (R), N

[ FOR WEST PALM BEACH ]

On the confirmation of B. Todd Jones as director of the Bureau of Alcohol, Tobacco, Firearms and Explosives:

Bill Nelson (D), Y

Marco Rubio (R), N

The Senate voted in dramatic fashion Wednesday to approve one of President Barack Obama’s nominees. For Democrats to prevail, all it took was a last-ditch vote switch by one senator, a flight back from North Dakota by another and an afternoon roll call that stretched into the evening.

Five hours after the balloting started, the Senate voted to end Republican delaying tactics against B. Todd Jones, Obama’s pick to head the Bureau of Alcohol, Tobacco, Firearms and Explosives. It then voted in a comparatively instantaneous 29 minutes for his final confirmation, 53-42.

A defeat would have been a setback for Obama, who is trying to plug gaps in his second-term administration’s lineup, and dealt a blow to the recent cooperation between the two parties over allowing votes on the president’s nominees.

The lengthy roll call and the theatrics accompanying it nearly obscured that Jones’ approval marked a rare congressional victory for gun-control forces. His confirmation came three months after the Senate rejected Obama’s drive to expand background checks for firearms buyers.

Obama nominated Jones weeks after the December massacre at an elementary school in Newtown, Conn., that killed 20 first-graders and six staffers. Jones, a former Marine, has been acting ATF director since 2011.

Gun control advocates backed Jones’ nomination, saying he would strengthen an agency long weakened by congressionally imposed restraints. With a national registry of gun owners forbidden by federal law, authorities face constraints when they want to trace firearms used in crimes.

For most of Wednesday afternoon, the Senate idled in neutral waiting for Sen. Heidi Heitkamp, D-N.D., to fly back from her home state, where aides said she had taken ill. She then cast the 60th vote needed to end a GOP procedural blockade aimed at derailing Jones’ nomination.

But to get the 59th vote, Democrats earlier had to persuade Sen. Lisa Murkowski, R-Alaska, to switch her initial vote.

In a prolonged spectacle played out largely in full view on the Senate floor, Democratic senators swarmed around Murkowski after she at first voted to support her party’s delaying tactics.

As the Senate Judiciary Committee chairman, Sen. Patrick Leahy, D-Vt., and other Democrats tried persuading her to switch, Republican senators joined the group, urging her not to change. More than a dozen lawmakers spent nearly an hour imploring Murkowski, first on the Senate floor and then in a private cloakroom.

She finally emerged from the cloakroom and switched her vote.

She said in a written statement that she switched her vote after learning that Jones no longer was under investigation, as opponents had said he was, for his performance as U.S. attorney for Minnesota. She later voted against his confirmation.

Sen. Amy Klobuchar, D-Minn., who was in the middle of the crowd surrounding Murkowski, said Democrats also argued that blocking a vote on Jones “would have disrupted the relative and recent comity in the Senate.”

With an autumn of fights over the budget and other issues coming up, “The last thing we want to do is leave with some radioactive blowup,” Klobuchar said. Congress is due to leave for a five-week summer recess this weekend.

Senators had planned to vote Wednesday to confirm Samantha Power to become ambassador to the United Nations. That roll call was postponed until today.