A man from Austin, Texas has been sentenced to 30 months in prison after pleading guilty to stalking and threatening Taylor Swift. Eric Swarbrick received his sentence on Wednesday at a hearing in Nashville.

The sentence came after Swarbrick admitted to sending more than 40 letters and emails to the pop star’s record label, Big Machine, in 2018, asking the company’s CEO to introduce him personally to the singer. He also admitted driving down on several occasions to deliver his letters directly to Taylor Swift.

The terms of the sentence were agreed upon by prosecutors in a plea agreement that Swarbrick signed in 2019. The terms also include three years of supervised release.

Stalkers are not new to Swift. The pop star has dealt with obsessive fans throughout her career, one of them even got arrested last year for breaking into her home.

In March 2019, a man who had just served six months in prison for breaking into Taylor Swift’s New York City apartment was arrested again after breaking into the singer’s home once more. The stalker, 23-year-old Roger Alvarado, used a ladder to climb to a glass door on the second floor of Swift’s home. Fortunately, Swift was not home at the time of the break-in. Alvarado faced charges for stalking and burglary after the incident.

Just a day prior to the break-in, Swift wrote an essay for Elle titled “30 Things I Learned Before Turning 30,” where she recounted her history with obsessive stalkers. “My fear of violence has continued into my personal life,” she wrote.

On one occasion, authorities also caught Alvarado sleeping in Swift’s bed in her new Soho townhouse. Alvarado was caught after Swift’s neighbor had reported a possible home invasion after seeing a ladder perched up against the singer’s home. Alvarado was sentenced to nine months in prison after being found guilty of criminal contempt and attempted burglary.

That same year, another stalker of Taylor Swift was arrested outside her home in Rhode Island after attempting to break into the pop star’s home. He was in possession of burglary tools, including lock picks, a rake, and a baseball bat, at the time of his arrest.

Taylor Swift Taylor Swift on stage at the 2019 iHeartRadio Music Awards, which broadcasted live on FOX at the Microsoft Theater on March 14, 2019, in Los Angeles, California. Jeff Kravitz/FilmMagic for iHeartMedia