A judge granted bail to two men who were charged with posing as federal agents.
The prosecutors said they might appeal the judge's decision to release the men.
Harvey said that the men can be released into the custody of relatives who live in the Washington area, and that they would be monitored by global positioning satellite devices.
Harvey made his decision at 9 a.m. Prosecutors have time to decide whether to appeal his bail decision.
Harvey was asked to detain both men pending their trial because prosecutors said they were a threat to the public.
Filing in U.S. District Court in Washington, D.C., by the U.S. Attorney’s Office for the District of ColumbiaA cache of weapons and police equipment were found in the apartments that the men rented to the two Secret Service agents. Ali's history of travel to Pakistan and Iran made him a flight risk.
While the men were claiming to be engaged in covert operations for DHS, prosecutors said that they compromised the United States Secret Service personnel involved in protective details and with access to the White House complex by lavishing gifts upon them.
The case did not meet the standards for denying bail since neither man is charged with a crime of violence.
Harvey said that release should be the norm in a case like this.
It is not a crime of violence. It is a felony with a maximum period of imprisonment of three years.
If the duo is convicted of the crime, the sentencing guidelines recommend a jail term of zero to six months, the lowest possible range for imprisonment under those guidelines.
Four Secret Service agents who had contact with the men have been placed on administrative leave.
Secret Service agents who were assigned to the first lady's protective detail are among the witnesses against the men.