An Iranian provincial prosecutor has warned that the few elements behind post-election unrest could face the death penalty under Islamic law, an Iranian news agency reported Wednesday.

Mohammadreza Habibi, prosecutor-general in the central province of Isfahan, said these elements were controlled from outside Iran and urged them to stop criminal activities, Fars News Agency said.

We warn the few elements controlled by foreigners who try to disrupt domestic security by inciting individuals to destroy and to commit arson that the Islamic penal code for such individuals waging war against God is execution, Habibi said.

So before they are stricken with the law's anger they should return to the nation's embrace and avoid criminal measures and activities, he said.

It was not clear if his warning applied to just Isfahan or the country as a whole.

(Reporting by Hossein Jaseb; writing by Fredrik Dahl)