A woman whose exploits posing as a German heiress to scam individuals and financial institutions out of hundreds of thousands of dollars inspired a Netflix series is being released from immigration custody.

Anna Sorokin was scheduled to be released from ICE custody Friday evening, U.S. Immigration and Customs Enforcement said.

Also Read | Serial killer on the loose in Stockton? Cops find pattern in recent murders

The 31-year-old had been held by immigration authorities since March 2021 after she had served three years in prison for larceny and theft. Immigration authorities claim she has overstayed her visa and must be returned to Germany.

Also Read | Who is James Brennand, San Antonio police officer fired for shooting teen?

This week, a judge had cleared the way for Sorokin to be released to home confinement while she fights deportation. Under conditions imposed by Manhattan Immigration Judge Charles Conroy, she must post a $10,000 bond, provide a residential address where she’ll stay for the duration of her immigration case and refrain from social media posting.

Also Read | Kevin Spacey faces civil trial on sexual assault claims

Posing as Anna Delvey, Sorokin managed to ingratiate herself with New York’s movers and shakers, claiming she had a $67 million (68 million euros) fortune overseas, according to prosecutors. She falsely claimed to be the daughter of a diplomat or an oil baron.

Also Read | Who was Thomas Meixner, University of Arizona professor shot dead on campus?

Prosecutors alleged Sorokin falsified records and lied to banks, luxury hotels and upper crust Manhattanites and stole a total of $275,000. Her exploits inspired the Netflix series “Inventing Anna.”

Also Read | 34-year-old Thomas Cashman charged for 9-year-old girl’s murder

After Conroy issued his order, Sorokin’s attorney, Duncan Levin, said in a statement that Sorokin “is thrilled to be getting out so she can focus on appealing her wrongful conviction.”