Bill O’Reilly and Charles Krauthammer disagreed tonight on whether the Obama administration should have swapped five Guantanamo Bay detainees for Sgt. Bowe Bergdahl.

O’Reilly slammed a New York Times editorial which argued that Bergdahl should not be prosecuted for his actions and that he should be honorably discharged and given back pay.

“Truth is Sgt. Bergdahl’s conduct was so dangerous, it has to be prosecuted,” O’Reilly said.

“The Factor” host said that liberals want the whole situation to disappear because they think it’s harmful to President Barack Obama, and it makes America look bad.

“Is there any clear-thinking person who now believes that trading the sergeant for five top Taliban commanders was a good idea?” he asked.

Still, O’Reilly argued for mercy for Bergdahl, saying that he should not be sent to prison if he’s convicted.

“No honorable anything, no back pay, but no vengeance either,” he said.

“It’s not a question of vengeance, it’s a question of justice,” Krauthammer said, explaining that he thinks America should bring back all soldiers but also put them on trial if they’re suspected of desertion.

Krauthammer argued that the swap for Bergdahl was justified, but that Obama should have admitted that the price of such a deal was high.

“If you were the president of the United States, you would’ve traded five top Taliban commanders held in Guantanamo Bay for Sgt. Bergdahl?” O’Reilly questioned.

Krauthammer remarked that the Israelis have traded 1,000 prisoners for a single corporal.

“I would’ve made the deal, but I would’ve issued a statement saying it is with the deepest regret, this is a terrible day, this is a dark day, we had to release people who we know will go to war against us, but we have a principle, we want to bring people back if we can,” Krauthammer said, adding that the other principle in this country is justice, and that Bergdahl should be put on trial for his alleged desertion.

“You’re desperately wrong on this,” O’Reilly fired back, arguing that the five released Taliban leaders will soon kill more Americans as a result of the swap.

Who do you agree with? Sound off in the comments.

Megyn Kelly Grills Jen Psaki: 'Was Bergdahl Swap Worth It?'

Bergdahl's Ex-Platoon Mate: 'He Should Be Prosecuted to the Fullest'

Henry to Earnest: Do You Still Think Bergdahl Served With Honor & Distinction?