Leaving his chair to deliver a stinging rebuke to Hillary Clinton, Bernie Sanders used Monday night’s Democratic town hall event on CNN to defend himself against an attack ad that argues the former secretary of state is “the one leader who has what it takes to get every part of the job done.”

“This calls for a standing up response, let me shock everybody here,” Sanders said, surprising moderator Chris Cuomo by getting up for the first time to address the audience.

“I have known Hillary Clinton for 25 years,” he continued. “You know what? I like Hillary Clinton, and I respect Hillary Clinton. And Hillary Clinton has the devoted her life to public service, and I have tried, as I hope you all know, not to run a negative campaign.” Joking that they were “a lot better than the Republicans in that regard,” Sanders nevertheless hit back hard, on issue after issue, to demonstrate how his voting record has stacked up against Clinton’s former positions.

On Iraq:

I voted against the war in Iraq, and if you go to my website, listen to the speech that I gave when I was in the House in 2002 saying, yeah, it's easy to get rid a rid of a dictator like Saddam Hussein but there will be a political vacuum. And it gives me no pleasure to tell you that much of what I feared happened. Hillary Clinton voted for the war in Iraq.

On Wall Street: