Gwyneth Paltrow testified Monday in the trial of a man accused of stalking her, saying he sent her upsetting letters that contained threats and pornography.

Dante Soiu is accused of stalking the Oscar-winning actress for 17 years, sending her 66 letters between 2009 and 2015.

Paltrow was the first witness called. She testified about letters and packages she received from Soiu dating to 1999, including several that contained pornography, sex toys and statements that he wanted to cleanse her of sin.

The letters described Soiu’s intention to marry Paltrow and also a pair of earrings he sent her in 2009 as a Christmas gift.

One letter described Paltrow “bowing to death.” The actress said the reference was disturbing.

Deputy District Attorney Wendy Segall said in an opening statement that Soiu shattered Paltrow’s sense of security.

Soiu was found not guilty by reason of insanity in 2000 in a previous trial involving Paltrow, and was sent to a mental institution for several years. He was re-arrested last year after sending the actress new correspondence.

Soiu, who is from suburban Columbus, Ohio, has pleaded not guilty in the latest case. He shook his head during portions of Segall’s opening statement.

His lawyer said Soiu has simply written letters to Paltrow, and that recent letters haven’t included pornography. Attorney Lynda Westlund said Soiu is a Christian man who is just trying to minister to the actress.