Iranian President Mahmoud Ahmadinejad said on Sunday any country that dared to attack Iran would "deeply regret" such a move.
Ahmadinejad, who often rails against the West, was speaking at a news conference a day after the Interior Ministry said he had won a landslide election victory against a moderate politician advocating detente with the West.
Iran's refusal to halt nuclear work the West suspects is aimed at making bombs, a charge Tehran denies, has sparked persistent speculation that Israel or the United States might strike at the country's nuclear facilities.
"Who dares to attack Iran? Who even dares to think about it?" Ahmadinejad said in response to a question.