LOS ANGELES – Actor Danny Masterson of “That ‘70s Show” was found guilty on two counts of rape by a Los Angeles jury on Wednesday, according to the Los Angeles district attorney.

Masterson, 47, was convicted of forcibly raping two women in separate incidents in 2003, both of which occurred at his home.

Jurors deliberated for more than six days, finding Masterson guilty on two counts but were deadlocked on a third charge stemming from an incident with another victim.

Masterson, who pleaded not guilty to the charges, was remanded into custody after being convicted. His sentencing date is scheduled for Aug. 4.

He is facing a sentence of up to 30 years to life in state prison, according to CNN.

“We want to express our gratitude to the three women who came forward and bravely shared their experiences. Their courage and strength have been an inspiration to us all,” LA District Attorney George Gascón said in a statement. “While we are disappointed that the jury did not convict on all counts, we respect their decision. The verdicts handed down by the jury in this case were undoubtedly a difficult one to reach and we thank the jurors for their service.

“We also recognize that preventing sexual assault is critical and we will continue to educate the public on the importance of consent, healthy relationships and bystander intervention. We believe that by working together, we can create a safer and more just society for all.”

Masterson starred as Steven Hyde on “That ‘70s Show,” which aired for 200 episodes across eight seasons from 1998 to 2006. He also has starred in Netflix’s “The Ranch,” and TBS’ “Men at Work.”