MINEOLA, New York (PIX11) – A Long Island woman has pleaded guilty after being charged in a heinous scam in which she faked cancer to pay for a nasty heroin habit.

Brittany Ozarowski, 21, entered the plea during a 24-count indictment Monday in Suffolk County court. Prosecutors pushed for a hefty jail sentence in connection to charges of grand larceny, forgery and others, but the judge agreed to place her in a drug treatment program for up to two years instead.

According to the Suffolk County District Attorney Thomas Spota, thousands of people on Long Island gave money to 21-year-old Brittany Ozarowski.

RELATED: HOW OZAROWSKI TRICKED A COMMUNITY INTO BELIEVING SHE HAD CANCER

“She told me she had bone and brain cancer and that she needed money to pay for it,” said Elizabeth Patricola earlier this year. “She told me (she had) special treatments, that’s why she wasn’t losing her hair.”

She wasn’t losing her hair because the the DA said Ozarowski didn’t have cancer. “There was no cancer, only heroin and more heroin,” said Spota in April.

People donated money to her in person and via her fake website; they even held multiple fundraisers on her behalf. Donation jars were placed in stores across Nassau and Suffolk County.

Along with her mandated drug rehab program, Ozarowski has been ordered to pay more than $10,000 to those people who gave her money.