The Bowe Bergdahl prisoner swap was because of President Obama's lack of experience, according to Scott Walker.

The Governor of Wisconsin and likely 2016 Republican presidential hopeful said the prisoner swap that freed five Taliban prisoners "frustrated him."

"The unfortunate reality is this is what happens when you put someone in office who's never led before," Walker told Hugh Hewitt on Wednesday night — hours after Army Sgt. Bowe Bergdahl was charged with desertion and misbehavior before the enemy. "This president, unfortunately, having been a senator, a state senator, a community organizer, never led anything, and so he's never been in a position to make those sorts of judgments."

Bergdahl, who was released last May after being held captive in Afghanistan since 2009 in exchange for five Taliban members being held in Guantanamo Bay, could get life in prison.

According to a U.S. official, at least three of the five have tried to "re-engage" with their old terror networks since being released.

Walker also drew a stark comparison between himself and President Obama, who called the recovery of Bergdahl "a good day" from the White House Rose Garden last May.

"When you're a governor, you're a mayor, you're a county executive […] you have to act on behalf of not just the people who elected you, but the whole group," he said. Walker also added that the Obama administration knew of Bergdahl's alleged desertion "when they put American soldiers' lives at risk to try and rescue him."