A woman from Arkansas now will spend time behind bars after she posed as a California sheriff’s deputy to get her boyfriend out of jail.

Maxine Feldstein has been sentenced to 15 years in prison after she pleaded guilty to forgery, third-degree escape and second-degree criminal impersonation, KFSM reported.

Feldstein gave fake paperwork to Washington County Detention Center last July. Jailers thought the paperwork was real and released Nicholas Lowe.

Lowe, according to court documents, told Feldstein to pretend she was a deputy from Ventura County Sheriff's Office, KFSM reported.

>> Read more trending news

He told Feldstein to tell Washington County officials California was “having issues with overcrowding and all low-priority extraditions have been suspended,” court documents stated.

Feldstein, who had bonded out of jail hours before, called the Washington County Jail, saying she was Ventura County Deputy L. Kershaw, KFSM reported.

Officials realized two days later they had been duped when a real Ventura County deputy called to pick up Lowe.

Law enforcement arrested the couple about a month later.

Lowe also pleaded guilty to third-degree escape and was sentenced to one year in prison, but was given credit for 167 days served. He will have a five-year suspended sentence once he's released by the Arkansas Department of Correction, according to KFSM.