While much of the media has reported the partial government shutdown as an unmitigated disaster for President Donald Trump, one poll shows that it didn't help House Speaker Nancy Pelosi (D-Calif.) much either.

The NBC/Wall Street Journal found that Pelosi had the worst net approval rating among a list of politicians related to the government shutdown.

National Journal Editor Josh Kraushaar first noticed the stunning result from the poll published Sunday.

More NBC/WSJ poll: Pelosi's negatives shot up during government shutdown more than any pol // now the most unpopular politician tested in the survey. pic.twitter.com/pSMBFydwx7

— Josh Kraushaar (@HotlineJosh) January 27, 2019

"Pelosi's negatives shot up during government shutdown more than any pol," Kraushaar noted, "now the most unpopular politician tested in the survey."

In the except he posted, Pelosi registered positively for 28 percent of those polled, and negatively for 47 percent, for a net approval rating of minus-19 percentage points.

This was the largest negative net rating, including that of Trump, which was minus-12 points, and Senate Majority Leader Mitch McConnell (R-Ky.) at minus-18 points.

Pelosi resisted the president's demands that the Democrats vote for a budget that would include funding for his promised border wall. Eventually the president relented and the partial government shutdown, the longest in U.S. history, ended with an agreement to fund the government for three weeks.

Many of the president's supporters have been split on whether the agreement to end the shutdown was a strategic necessity for Trump or simply a failure of negotiation.

Here's the latest on the budget battle: