An appeals court in California on Friday upheldHarvey Weinstein's 2022 conviction on charges of rape and sexual assault but vacated a 16-year prison sentence and ordered the trial judge to resentence him.

"The sentence is vacated and the matter is remanded for re-sentencing," an online update posted by the California 2nd District Court of Appeal read. "In all other respects, the judgment is affirmed."

The three-judge panel unanimously issued the decision, saying Weinstein's trial judge did not violate his constitutional rights.

"We reject his attempts to disturb the jury's guilty verdicts," the judges wrote.

Weinstein to appeal conviction and sentence