Americans are deeply divided over whether the Obama administration did the right thing by swapping five Taliban leaders to win the freedom of prisoner of war Bowe Bergdahl in Afghanistan, according to Reuters/Ipsos survey released on Friday.

Americans strongly agree the United States should make every effort to free POWs like Bergdahl, an Army sergeant who was captured in eastern Afghanistan in 2009. But they also think the prisoner swap deal set a dangerous precedent.

The poll of 958 Americans interviewed online found that 44 percent disagreed with the statement that trading Taliban prisoners for Bergdahl was "the right thing to do," with 26 percent of them strongly disagreeing.