LOS ANGELES (AP) — Actor and rapper Kaalan Walker has been sentenced to 50 years to life in prison for his conviction for raping aspiring models he met online, authorities said.

Walker, 27, was sentenced Monday in Superior Court in Los Angeles following his April conviction on three counts of forcible rape, one count of assault to commit oral copulation, two counts of statutory rape and two counts of rape by intoxication.

Get traffic alerts from the abc27 mobile app for the latest local delays and road closures

His lawyer, Andrew Flier, said the trial was unfair. He called the sentence “draconian” and said it would be appealed, NBC News reported.

Walker, whose rapper name is KR, played a gang member in the 2018 remake of the movie “Superfly” and also appeared in the 2017 film “Kings,” starring Halle Berry and Daniel Craig.

He was arrested in 2018 and charged with a series of assaults dating back to 2016 involving four women and three teenage girls.

Stay up to date with the latest news with the free abc27 News app for iPhone and Android

Prosecutors said Walker used social media to contact aspiring models and offer them phony professional opportunities so they would meet him, then assaulted them.