International Monetary Fund leader Dominique Strauss-Kahn will return to a New York City jail pending his release on bail.
Strauss-Kahn is charged with trying to rape a hotel maid and is likely to spend one more night at Rikers Island jail.
A judge set bail at $1 million Thursday, and approved an elaborate arrangement under which the 62-year-old diplomat and banker would be confined to a private apartment in Manhattan and monitored by armed guards.
Strauss-Kahn will also have to take out a $5 million insurance bond.
Prosecutors have said he should remain behind bars.
Strauss-Kahn resigned his IMF post late Wednesday.