Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

The Senate voted Wednesday night to confirm Sen. Jeff Sessions, R-Alabama, to become the nation's attorney general after three days of partisan acrimony over President Donald Trump's Cabinet nominees.

The 52-47 vote proceeded along party lines, with one exception: Joe Manchin, D-West Virginia, voted with Republicans. Sessions himself voted "present."

"It was a special night, and I appreciate the friendship from my colleagues — even those who, many of them, who didn't feel able to vote for me — they were cordial and so we continue to have good relations, and [I] will continue to do the best I can," Sessions told reporters immediately after his confirmation.

This was the Sessions' second attempt at a Senate confirmation. His first attempt, in 1986, was for a federal judgeship, which failed after he was accused of racial insensitivity.

Democrats, many of whom have worked with him in the Senate for years, opposed Sessions because of his positions on voting rights, immigration and women's health, among other issues. But their opposition wasn't enough to defeat his nomination, as it takes a simple majority to confirm Cabinet positions.

"Everything he was accused of, I've never seen," said Manchin, the only Democrat to support him. "So I'm basing my knowledge of Jeff Sessions and who I think Jeff Sessions is, and I think he'll be fair and very deliberate of what he does. And I think he'll be very good at the rule of law and administrating it."

Sessions is expected to be sworn in Thursday morning.

Sessions was confirmed as Senate Democrats are putting up fights against several of Trump's Cabinet nominees.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

Democrats held the Senate open for 55 consecutive hours by the time of Sessions' vote as they thundered away in opposition to two of the president's most controversial nominees. And in the middle of debate on Sessions, tensions boiled over Tuesday, when Republicans voted to formally rebuke Sen. Elizabeth Warren, D-Massachusetts.

The unusual move to reprimand Warren for "impugning" Sessions came after she read aloud a letter by Coretta Scott King in opposition to his 1986 judicial nomination.

The episode, which dominated discussion Wednesday, was emblematic of the frustrations both parties are experiencing over a confirmation process for Trump's nominees that continues to slog on.

Democrats, who don't have votes to stop nominees without Republican defections, are using their time on the floor to slow the process and register their objections to nominees they feel are unqualified, by resumé or ideology.

Next up is the confirmation of Rep. Tom Price, R-Georgia, to be health and human services secretary. Democrats didn't plan to use the same tactic, at least not Wednesday night.

Republicans are frustrated with rules that have ground the process to a crawl. With little or no doubt about the outcome of the final votes, they see political grandstanding behind Democratic efforts to stall.

Related: Warren Silenced for Reading Coretta Scott King Letter During Sessions Debate

"They know we're going to be successful, so stunts like staying up all night and making speeches — I'm not sure who they're trying to impress, other than their dysfunctional base, by stopping and slowing down these confirmations. which will be successful eventually," said Sen. John Cornyn, R-Texas.

Other Republicans, however, are downplaying the frustration. Sen. James Risch, R-Idaho, chalked up the last three days as part of the legislative process.

"It's not neat and orderly," Risch said. But he added that he's seen a change since Trump was elected.

"There's been a real spike in anger, hate and bitterness since the election," he said.

And Cornyn said the Senate needs a break. "Everybody just needs to get a good night's sleep," he said.

Democrats continued their floor speeches Wednesday in opposition to Sessions, but they also had additional momentum to support their colleague Warren. Warren's censure has further emboldened Democrats, even spurring the hashtag #ShePersisted, using the words of Senate Majority Leader Mitch McConnell, R-Kenrucky, as a badge of honor.

"It's totally uncalled for," Minority Leader Chuck Schumer, D-New York, said of Republicans' maneuver to bar her from the debate.

Sen. Bernie Sanders, I-Vermont, meanwhile, said Warren was owed "an apology."

"I think it's unconscionable and outrageous that Senator Warren isn't allowed to participate" in the debate to confirm Sessions, Sanders said.

The Democrats' all-night session has been most wearing on the non-political employees who staff the Senate floor, including the stenographers, who are exhausted.

Warren thanked them via Twitter.

THANK YOU to the police, clerks, stenographers, cloakroom staff, pages, & Sen officers who worked all night while @SenateDems #holdthefloor. — Elizabeth Warren (@SenWarren) February 8, 2017

The Sessions debate followed an all-night talkathon Monday over the nomination of Betsy DeVos, who was eventually confirmed as education secretary.

DeVos was the most contentious nominee the Education Department's history, garnering the support of only 50 senators, plus the tie-breaking vote of Vice President Mike Pence — setting up what's already been a week of divisive politics in the Upper Chamber.