AUSTIN (AP) — Texas’ highest criminal appeals court has reinstated the 2015 sexual assault conviction of a former Baylor University football player whose case ignited a scandal that engulfed the nation’s largest Baptist school.

The Texas Court of Criminal Appeals said Wednesday that a lower court erred by overturning the conviction of Sam Ukwuachu based on text messages between the victim and a friend that had not been allowed in trial.

READ MORE: Dallas Police Officer Tyrone Williams Jr. Arrested, Charged With Sexual Assault Of A Child

The trial court only allowed into evidence texts she sent after the assault. Ukwuachu’s attorney argued the earlier text messages would show the woman consented to sex.

READ MORE: A Lot Less Munching: Pandemic Leaves Girl Scouts With 15 Million Boxes Of Unsold Cookies

Ukwuachu was sentenced to six months in jail, but served an abbreviated sentence. The ruling allows him to continue appealing his conviction, but not on the text message issue.

MORE NEWS: Parents Of North Texan & Former Marine Trevor Reed Want President To Stand Up For Their Jailed Son

(© Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)