In a ceremony marking army day in Tehran , Ahmadinejad ordered foreign powers to get out of the region.