A Massachusetts judge has found Michelle Carter guilty of involuntary manslaughter.

The case of the young woman who sent her boyfriend text messages urging him to commit suicide garnered national attention.

Conrad Roy III died of carbon monoxide inhalation in his pickup truck outside a Kmart. Records show a lengthy text message history between Roy and his girlfriend Michelle Carter, in which Carter repeatedly urges him to commit suicide.

RELATED: She relentlessly urged her boyfriend to kill himself and the texts she sent are beyond saddening

Carter and Roy, who had attempted suicide multiple times in the past, both struggled with psychiatric problems.

In the days and hours leading up to Roy’s suicide, Carter repeatedly sent Roy messages saying, “You just need to do it! You can’t keep living this way. You just need to do it like you did last time and not think about it and just do it babe.”

In her defense, attorney Joseph Cataldo told Judge Lawrence Moniz she believed she was helping Roy and couldn’t be held responsible for his death as she was operating in a fog created by medication.

Carter’s defense team brought in psychiatrist Peter Breggin to testify that Carter’s medication, Celexa, had intoxicated her to the point she believed she was doing what was right.

But prosecutors argued Carter knew exactly what she was doing and portrayed her as someone craving the attention. In her closing statement, Assistant District Attorney Katie Rayburn said Carter wanted to be seen as the grieving girlfriend.

Carter waived her right to a jury trial, so her fate will be decided by Judge Moniz, who spent two days deliberating before announcing Thursday he would issue his verdict Friday morning.

Judge Moniz must decide whether Carter should be held responsible for Roy’s death.

The case could have implications in future cases involving suicide or cyberbullying. In 2012, a Rutgers student was convicted on charges relating to his roommate’s suicide after he had been filmed in a romantic encounter with another man. But that case was thrown out on appeal.

Carter faces one count of manslaughter and could face up to 20 years in prison if found guilty.

Atlanta Journal Constitution