A woman has pleaded guilty in federal court after authorities said she robbed a bank in Wyoming so she could return to prison.

Linda P. Thompson entered the plea to a bank robbery charge Wednesday in U.S. District Court in Cheyenne.

Thompson told the judge that going back to prison would be like going home. Sentencing was set for Oct. 12.

The 59-year-old Thompson was arrested July 27 after a US Bank branch in Cheyenne was robbed by a woman who tossed the money into the air outside and offered some to passers-by. She then sat down and waited for police to arrive.

Thompson was released in June from prison in Oregon, where she had served time for a robbery conviction. Thompson said she unsuccessfully protested her release in Oregon.