A Texas man facing felony stalking charges for sending sexually explicit and threatening messages via social media to WNBA star Caitlin Clark pleaded guilty on Monday, July 29 and was sentenced to two and a half years in prison by an Indiana judge.

Michael Lewis was arrested last January following an investigation that determined he traveled to Indianapolis with the intent to be in close proximity to Clark, who plays for the WNBA's Indiana Fever. After being questioned by police about traveling from Texas to Indiana, Lewis continued to send messages to Clark.

Lewis, 55, received the maximum sentence for the felony charge, the Marion County Prosecutor's Office told The Indianapolis Star. He also has a no-contact order with Clark for the duration of the sentence and has agreed to stay away from Gainbridge Fieldhouse and all Indiana Fever events, according to court records.

CAITLIN CLARK: Rookie card sells for $660,000, breaking women’s sports card record

Clark told police in an interview last January that "she has been very fearful since learning of the messages and that she has altered her public appearances and patterns of movement due to fear for her safety," according to the charging affidavit. "Clark stated that she has become very concerned for her safety after learning that Lewis was in Indianapolis. Clark also stated that she doesn’t know Lewis and has never responded to any of his messages or posts."