Shelley Malil, best known for cracking wise with Steve Carell in "The 40-Year-Old Virgin," won't be making more movies any time soon.
The actor, 45, was convicted of attempted murder after stabbing ex-girlfriend Kendra Beebe 23 times. He received the maximum sentence of life in prison with the possibility of parole, People.com reports.
"I stand before the defendant alive," Beebe testified at the sentencing. "Despite plunging a knife in me 23 times and trying to kill me, I am alive. Despite the wicked scars he left on my body, I am alive."
Malil also spoke before the court, saying he had visited Beebe's home in 2008 to make amends for taking personal items from her home, but then stabbed her when he found her with another man.
"I failed miserably, not only as a human being, but as a father, son, uncle, brother, friend," Malil said. "What I did to Kendra -- I don't have the words to express my remorse."
Malil will be eligible for parole in 2020.