MIDDLETOWN, Iowa -- A federal appeals court has temporarily blocked an emergency permit allowing the U.S. Army to conduct a controlled detonation of nearly five tons of lead azide at a military ammunitions plant in Iowa.

In an order filed late Thursday night, the Eighth Circuit Court of Appeals granted an administrative stay of the permit, issued by the Environmental Protection Agency, while the court considers an emergency request from two Iowa environmental groups to formally halt the detonation, which the Army postponed until early next week amid public concern.

The temporary stay pauses the emergency permit until the appeals court rules on the request from the Iowa Environmental Council and Sierra Club for a longer-term halt.