Somewhat incredulously, Jon Stewart on Tuesday recalled getting into a Twitter war three years ago with the man who could be elected president of the United States on November 8.

Discussing Donald Trump, the former host of "The Daily Show" betrayed some nervousness about the election during an appearance at a benefit for veterans. The 10th annual event run by the Bob Woodruff Foundation, held at the Theater at Madison Square Garden in New York, featured a who's who of comics including Stewart, Jerry Seinfeld, Louis C.K. and Jim Gaffigan, and four songs by Bruce Springsteen.

Getting insulted online by Trump is old hat now, but Stewart recalled being surprised to see the now-Republican presidential nominee call him overrated three years ago. Their Twitter battle lasted for a few days.

He tweets, "As I've said many times before Jon Stewart is highly overrated," Stewart recalled.

"I swear this is true. He tweets again, 'If Jon Stewart is so above it all and legit why did he change his name from Jonathan Leibowitz? He should be proud of his heritage," continued Stewart.

"Yeah, that guy wants to be president."

"I think this guy's trying to let people know I'm a Jew and I think to myself, 'doesn't my face do that?'" Stewart joked.

Stewart said he didn't think Trump would be able to recover from the "Access Hollywood" tape where he was caught making crude remarks about women, but instead the race seems to be tightening.

"What is happening?" he said. "I thought we were done three weeks ago."

He said the only way things can get any weirder is if the election ends in a tie, "and suddenly, there's a white Bronco going down the highway," with JonBenet Ramsey stepping out to cast the deciding vote.

The other comics steered clear of politics with their routines. Woodruff, the ABC News reporter who was nearly killed by a roadside bomb in Iraq in 2006, started the foundation with his wife, Lee, to raise money to help veterans severely wounded in Iraq and Afghanistan.

Springsteen toted an acoustic guitar to sing four songs and tell a few off-color jokes, ending with "Dancing in the Dark." With the help of an auctioneer, the foundation then sold one of his electric guitars for $280,000. Springsteen threw in a ride in his 1967 Cadillac for the winner and three friends.