A Hyannis woman who allegedly conned people out of thousands of dollars by posing as a lottery official was indicted in federal court Thursday.

Ashley Barrett, 25, was charged with seven counts of mail fraud, according to the US Attorney’s office. She was arrested in late March and later released.

From 2012 to 2016, Barrett and others “devised a scheme to defraud victims across the country by falsely representing to them that they had won millions of dollars in a lottery, and that, in order to receive their winnings, they had to pay a fee,” prosecutors said.

They collected payments from the victims through the mail, prosecutors said. In 2015, Barrett defrauded one woman out of $23,600, they said.


Barrett’s alleged co-conspirator, Peter Anthony Chin Jr., was indicted last month on one count of conspiracy to commit mail and wire fraud, prosecutors said.

Barrett faces up to 20 years in prison.

Alana Levene can be reached at alana.levene@globe.com. Follow her on Twitter @alanalevene.