During the presidency of Barack Obama, Trump warned against striking on Iran, repeatedly predicting that Obama would attack the nation to help him get re-elected.
Trump's first warnings about attacking Iran came in 2011, when he tweeted things like, "@BarackObama will attack Iran in the not too distant future because it will help him win the election" and "@BarackObama will attack Iran," linking to a now-private YouTube video.
In 2012, Trump warned several times that Obama may use an attack on Iran to win re-election.
"@BarackObama will attack Iran in order to get re-elected," Trump said in January.
"Just as I predicted, @BarackObama is preparing a possible attack on Iran right before November," he said in July."I always said @BarackObama will attack Iran, in some form, prior to the election," Trump said in August.
"Don't let Obama play the Iran card in order to start a war in order to get elected–be careful Republicans!" he said again in October.
Even after Obama's re-election, Trump continued to warn about a possible attack on Iran.
"I predict that President Obama will at some point attack Iran in order to save face!"