NEW YORK -- Jeffrey Epstein will remain behind bars after a judge denied the accused child sex trafficker's request for bail.

U.S. District Judge Richard Berman on Thursday, July 18, turned aside Epstein's bid to be confined in his Manhattan mansion, where he had offered to pay for armed guards and wear an ankle bracelet tracking his location.

Instead, he will await his trial in jail, where he's been since his arrest on July 6, while he works with his team of lawyers to defend himself against accusations that he sexually assaulted teenage girls from 2002 to 2005.

Berman said the U.S. has established that Epstein posed a flight risk. He said his findings on the danger Epstein posed to the community were at the "heart of the decision" and that he found the defense's proposed bail package "irretrievably inadequate." He cited the danger to alleged and potential victims and the "compelling testimony" of the two alleged victims who testified during Monday's bail hearing.

"I doubt that any bail package can overcome danger to the community," the judge said.

Epstein, 66, faces a maximum sentence of 45 years in prison if convicted. The ruling is a win for prosecutors as it increases the pressure on Epstein.

Prosecutors argued in a hearing Monday that Epstein should remain locked up because of the risk he could flee to escape trial, victimize others or influence witnesses. Investigators found piles of cash, dozens of diamonds and an expired Austrian passport, with Epstein's picture and a different name, in a safe in his Manhattan home.

Epstein has pleaded not guilty to charges of sex trafficking in minors and conspiracy and says he has fully complied with the law for the past 14 years. He said he got the passport in the 1980s to disguise his identity as a wealthy, Jewish American if he were ever kidnapped or taken hostage on a hijacked airliner.

Two women who claim they were abused by Epstein echoed prosecutors' pleas to keep him behind bars.

"He's a scary person to have walking the street," Courtney Wild told Berman in Monday's bail hearing. She urged the judge to deny him bail "for the safety of any other girls who are going through what I'm going through."

"I was 16 years old when I had the misfortune of meeting Jeffrey Epstein in New York," Annie Farmer said. "He later flew me to New Mexico. I want to voice my support that he not be set free."

Prosecutors said Epstein may try to pay off or intimidate witnesses if granted bail. They claim he made payments totaling $350,000 to two possible witnesses two days after the Miami Herald published a series on his alleged crimes in November. Epstein's lawyer, Martin Weinberg, said there had been no effort to interfere with any investigation and that these were merely payments to a former employee and a friend.

This article was written by Bob Van Voris, Chris Dolmetsch and Patricia Hurtado, reporters for The Washington Post.