Jury selection in Harvey Weinstein's rape trial concluded Friday after an arduous two-week process, setting the stage for testimony to begin in the next week.

The lawyers and judge halted the selection process after 12 jurors and three alternates had been seated.

Of the total, eight were men, seven were women.

The final tally mostly erased a gender imbalance that, just hours earlier in the day, led to complaints by prosecutors that the defense was deliberately trying to keep young women off the panel.

Weinstein is charged with raping a woman and sexually assaulting another woman.

He has pleaded not guilty and said any sexual activity was consensual.

The Hollywood Reporter says the jury will hearing opening arguments next Wednesday. 

Earlier, Los Angeles prosecutors charged Weinstein with sexually assaulting two women on successive nights during Oscars week in 2013.

The case, brought by a task force set up by the Los Angeles County district attorney to investigate sex-crime allegations against entertainment figures, now puts Weinstein in deep legal peril on both coasts, where he built a career as the one of the most powerful - and feared - figures in show business before a barrage of accusations from more than 75 women led to his downfall and ignited the #MeToo movement.  

Weinstein, 67, was charged with raping a woman at a Los Angeles hotel on Feb. 18, 2013, after pushing his way inside her room, then sexually assaulting a woman in a Beverly Hills hotel suite the next night.

He could get up to 28 years in prison on charges of forcible rape, forcible oral copulation, sexual penetration by use of force and sexual battery.

(Copyright 2020 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)

Â