Almost three-in-four Democratic voters say they will back whoever becomes the party's nominee, according to a new Hill-HarrisX poll.

The survey, released Monday, found that 73 percent of Democrats would support the party’s pick to challenge President Trump Donald John TrumpFederal prosecutor speaks out, says Barr 'has brought shame' on Justice Dept. Former Pence aide: White House staffers discussed Trump refusing to leave office Progressive group buys domain name of Trump's No. 1 Supreme Court pick MORE, even if their preferred candidate doesn't become the nominee. Twelve percent of Democratic respondents said they would not vote if their candidate doesn't become the party nominee.

Just 8 percent said they would support the GOP nominee, who is likely to be Trump, if their preferred candidate didn't win the Democratic nomination.

Seven percent said they would vote for a third-party candidate.

Though the Democratic field once boasted more than two dozen candidates, it has shrunk in recent months to 17.

Former Rep. Beto O’Rourke (D-Texas) was the most recent one to call it quits.

O’Rourke announced on Friday that it had become clear to him that his campaign “does not have the means to move forward successfully.”

He also vowed to work with the eventual nominee to defeat Trump next year.

“I can tell you firsthand from having the chance to know the candidates, we will be well served by any one of them, and I’m going to be proud to support whoever that nominee is,” he wrote on Medium in making the announcement.

The Hill-HarrisX survey was conducted online among 370 registered Democratic voters with a margin of error of plus or minus 5.1 percentage points.

—Tess Bonn