Taylor Swift’s representatives have reacted with anger at what they called the “irresponsible” media for disclosing the addresses of celebrities, after a man was arrested for trespassing on her property in Los Angeles.

The LAPD confirmed to E! News on Thursday (February 4th) that they had detained a man at around 2:45 the previous afternoon, after neighbours had spotted him prowling around at the bottom of Swift’s driveway behaving strangely.

The man, who has not been named, was wearing fatigues and, according to one eyewitness, yelling for Swift to come out – though it’s not known whether she was home at the time. Other witnesses believed that he was mentally unstable, and neighbours eventually called the police after they grew worried about the situation.

Taylor SwiftTaylor Swift's L.A. home received an unwanted visitor on Wednesday

“The man was detained for an investigation,” a police spokesperson confirmed. “He was not supposed to be in that area or near that home. He was taken for observation for an undisclosed medical condition.”

However, he was not charged with a crime and has subsequently been released from police custody, reports suggest.

More: Taylor Swift announces mobile app game

Speaking to E! News, a spokesperson for the 26 year old pop star was furious that Swift’s address was even discoverable.

“This is why it's irresponsible for the media to publish the addresses or recent real estate transactions of celebrities. This, or potentially worse, is the end result.”

In the past, Swift has attracted the attention of stalkers and fans who just seem to take things a bit too far. In 2015, she was granted a three year restraining order against Timothy Sweet, a man who had harassed her over many months and continually claimed to be her husband via repeated phone calls, letters and social media.

More: Taylor Swift celebrates her birthday with Santa and announces ‘1989’ concert video