Actor Shelley Malil, who played one of Steve Carrell's pals in The 40-Year-Old Virgin, was sentenced to life in prison with the possibility of parole on Thursday for stabbing his ex-girlfriend over 20 times in August 2008, NBC San Diego reports.
In October, Malil, 45, was convicted by a jury of premeditated murder and assault with a deadly weapon. Judge Harry Elias gave him the maximum sentence; Malil will be eligible for parole in about nine to 10 years, according to the report.
During the trial, Malil explained that he visited his ex, Kendra Beebe, in her San Marcos, Calif. home; when he discovered her with another man, he stabbed her repeatedly with a kitchen knife.
Beebe, who survived the terrifying attack, spoke in court on Thursday.
"I stand before the defendant alive," Beebe testified. "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 addressed the court: "I am at a loss for words right now," he said. "I failed miserably, not only as a human being but as a father, son, uncle, brother, friend. What I did to Kendra, I don't have the words to express my remorse."
Sign up now for the Us Weekly newsletter to get breaking celebrity news, hot pics and more delivered straight to your inbox!