Bernie Sanders attacked former Vice President Joe Biden over U.S. foreign policy and ripped him for his support of the Iraq War.

Sanders was responding to a question about whether he would negotiate a deal with the Taliban when he first took the opportunity to criticize Biden.

“One of the big differences between the vice president and myself is he supported the terrible war in Iraq, and I helped lead the opposition against it,” Sanders said. “And not only that, I voted against the very first Gulf War as well. And I think we need a foreign policy which understands who our enemies are that we don’t have to spend more money on the military than the next ten nations combined.”

The 77-year-old Vermont senator then moved on to the actual question at hand and claimed that the United States needed to “rethink the entire War on Terror.” He also said he would be willing to break a deal with the Taliban.

“I think it is time, after spending many trillions of dollars on these endless wars which have resulted in more dislocation and mass migrations and pain in that region, it is time to bring our troops home,” Sanders said. “But unlike Trump, I will not do it through a tweet at three o'clock in the morning. I will do it working with the international community, and if it’s necessary to negotiate with the Taliban, of course, we will do that.”

Sanders is polling at 16.7% nationally, according to the RealClearPolitics national average of polls.

