A woman found with heroin in Salamanca will be on probation for five years.
Nicole French was convicted of criminal possession of a controlled substance after she was found with several bags of heroin in an Academy Street home in February of last year.
She also sold crack cocaine to another person in October of 2014.
She was sentenced earlier this week in Cattaraugus County Court.