Michelle Carter apologized to her boyfriend Conrad Roy III after he committed suicide, by sending him dozens of text messages, the Boston Globe reported Wednesday, citing evidence introduced at the trial earlier this week. The 20-year-old Massachusetts woman is facing trial for involuntary manslaughter after allegedly coaxing 18-year-old Roy into killing himself.

“I read this thing online about trying to agree with the person and that would make them change their mind because they see how stupid they’re being. But it didn’t work for you and I did it for too long,” the Globe reported, citing Carter's text message on July 21, 2014, when she was 17.

Read: Conrad Roy III’s Videos Discussing Depression Emerge As Evidence In Michelle Carter Trial

“You probably thought I was okay with it and You talked about being in heaven and being my angel and at the time I went along with it because i knew you weren’t gonna do anything. But you [expletive] did it and I’m so sorry I didn’t save you,” she wrote to her deceased boyfriend.

Roy committed suicide in the summer of 2014 by using carbon monoxide from a truck’s exhaust system to poison himself. Prosecutors say Carter encouraged Roy to kill himself and told him through text messages to use a generator and carbon dioxide during the suicide attempt.

After the text messages were presented in court Monday, prosecutors said Carter sent them in order to cover her tracks. But the defense, which argued that Roy would have killed himself with or without Carter's help, says she thought she was conversing with someone in heaven.

The Globe reported Carter sent several messeges expressing her concern about Roy's well-being after his death.

In a text sent on the morning after Roy killed himself, Carter wrote: “Did you do something??! Conrad I love you so much please tell me this is a joke.” Two days later, she sent another message reading: “I love you so much.”

According to the Globe, Carter sent more than 80 messages after his death. “Sweet dreams babe, I know youre up there smiling down on me,” reads another message. “I’ll always smile back. I love you forever.”

At Monday's hearing, a medical expert for the defense testified Carter was taking antidepressants during the time she texted her boyfriend about ways to commit suicide.

"The texting, particularly with her friends, also shows a side which wasn't apparent anywhere else — which is that of a very troubled youngster underneath," Dr. Peter Breggin said, adding that Carter took antidepressants like Celexa, which caused her to be involuntarily intoxicated.

In the opening statements of the trial last week, prosecutors argued Carter wanted to be the “grieving girlfriend.”

“The defendant needed something to get their attention,” Assistant District Attorney Maryclare Flynn said. “She used Conrad as a pawn in her sick game of life and death.”

Read: Michelle Carter Was On Antidepressants When She Encouraged Boyfriend To Kill Himself, Doctor Testifies

During the final portion of the hearing Tuesday, a suicide note written by Roy to Carter was released.

“Keep strong in tough times,” read the letter from Roy, obtained by MassLive. “You taught me how to be strong and carry on. This life has been too challenging and troublesome to me but I’ll forever be in your heart and we will meet up someday in Heaven. Put your best foot forward. You’ll get there, I’m sorry about everything. I am messed up I guess. I wish I could express my gratitude but I feel brain dead. I love you and greatly appreciate ur effort and kindness towards me. Keep your heart healthy and keep pushing forward.”

A judge is currently mulling on Carter's fate after she opted out of a trial by jury. If convicted, she could face up to 20 years in prison.