Taylor Swift's stalker was sentenced to six month behind bars on Wednesday.
Mohammed Jaffar, who lurked outside her apartment, repeatedly rang her doorbell and snuck onto the roof of her building was jailed and given probation after he pleaded guilty last week to attempted burglary.
Jaffar, 30, was arrested in 2017 for loitering at the 'Shake It Off' singer's Tribeca apartment building.
'The sentence imposed will not only benefit you, but society,' Manhattan Supreme Court Justice Laura Ward told Jaffar, according to the New York Post.
Mohammed Jaffar was sentenced to six months in jail and probation after pleading guilty last week to attempted burglary
Jaffar, 30, was arrested last year after he was seen loitering at Taylor Swift's Tribeca apartment building
He was also seen on surveillance video ringing her doorbell for an hour straight and sneaking onto the roof of her apartment building
'You are to have no contact with Taylor Swift, including no phone calls, no letters, no face-to-face communication, no contact with third parties.'
Jaffar was also ordered to complete a drug treatment program.
Jaffar's stalking began in December 2016 when he showed up to the singer's home requesting a sit-down chat with her before he was ordered to leave.
Jaffar, however, did not stay away and was spotted at Swift's building four more times over the next two months.
In February 2017, he gained entry into her building and was seen on surveillance video lurking in the hallway outside her penthouse apartment door.
He was later seen on the roof of the building for hours on end and ringing her doorbell for an hour straight.
The Post reports that Jaffar also called Swift's management company nearly 60 times insisting he be connected to the 28-year-old pop star. He was arrested in March of last year.
While Swift won't have to worry about Jaffar bothering her, the singer unfortunately is dealing with a second alleged stalker.
Jaffar started stalking Swift in December 2016 and called her management office nearly 60 times demanding he meet her
Swift was granted a restraining order against Julius Sandrock after he was arrested in April allegedly attempting to break into her Beverly Hills mansion
According to TMZ, she was granted a restraining order on Wednesday in LA County against Julius Sandrock, the man who was arrested at her property last month. Sandrock, 38, was charged with felony stalking.
Cops were called to Swift's Beverly Hills mansion on April 17 when Sandrock was spotted in front of her home. Police found that he had live ammunition, latex gloves, rope and multiple types of masks in his car.
He was arrested while allegedly trying to break into Swift's home wearing one of the masks and a pair of gloves. Sandrock allegedly told officers that he suffers from OCD, bipolar disorder, severe depression and manic episodes. He was on probation in Colorado at the time he was arrested, police said.
Swift's temporary restraining order against him will stay in effect until a court hearing in June, TMZ reports. Sandrock is required to stay 50 yards away from Swift, her property and any of her concerts or public appearances.
Sandrock has since been released from jail. Swift's team said they do not know where he went after his release.