Harvey Weinstein, the once-powerful and internationally acclaimed Hollywood producer, was sentenced to 23 years in a New York state prison Wednesday following a conviction stemming from sexual-assault allegations that sparked the #MeToo movement.

The sentence marks a shocking turn for Mr. Weinstein, 67 years old, who was viewed as one of...