In a list of 20 U.S. institutions, Democrats have the highest level of confidence in e-commerce giant Amazon.

The results of the 2018 American Institutional Confidence Poll were published on Wednesday, which took a look at how partisan identity correlates with viewpoints on U.S. institutions, ranging from government to businesses.

The poll found that Democrats ranked e-retail and technology company Amazon the highest, followed by "Colleges and Universities" and the "Military."

The findings were somewhat similar for Republicans, who ranked the military as their top choice, followed by "Local Police" and then Amazon.

The findings show that the public opinion of Amazon, which is a top most-valuable company in the world, hasn't been negatively impacted by comments from President Trump and Sen. Bernie Sanders, I-Vt.

Trump has targeted Amazon as part of his feud with the the Washington Post, a media outlet the administration routinely attacks for its unflattering coverage of the White House. Jeff Bezos, who owns the Post, also owns Amazon.

Trump has charged that the Postal Service is subsidizing package deliveries for Amazon, despite research that found imposing higher shipping prices on the e-commerce giant would cost the USPS money.

Meanwhile, under pressure from Sanders, a high-profile liberal who ran for president in 2016, Amazon announced earlier this month it will increase the base pay for its employees to $15 per hour and will lobby the federal government to pass a minimum pay hike. Sanders and others had sharpened their attacks on Bezos, the world’s richest man, for not paying Amazon workers enough.

[Opinion: Amazon’s push for higher wages has one winner: Amazon]

The poll from Georgetown University and the John S. and James L. Knight Foundation also noted the partisan divide regarding the 20 institutions in question.

Like Amazon, Facebook had a very low partisan gap, 2, but the outlook of the social media giant, which has grappled with fake news and Russian trolls in the aftermath of the 2016 election, was far negative on both sides of the aisle. Democrats ranked it 17 out of 20, while Republicans put it at 19.

Notably, the press was the GOP's least favorite institution. Trump and his allies regularly condemn media outlets that publish negative stories about him as "fake news."

Conversely, the Democrats least-liked institution was the executive branch.

The poll, which had a 5,400-Americans sample, had a margin of error of 1.3 percentage points and a 95 percent confidence interval.