The Abbotsford man who pleaded guilty to hacking pop superstar Carly Rae Jepsen’s email and social media accounts won’t receive jail time, a judge ruled Friday.

Christopher David Long was handed a four-month conditional sentence in Abbotsford provincial court.

As a result, Long’s travel will be restricted between home, work and school. Additionally, he can’t try to make contact with the "Call Me Maybe" singer in any way, and is banned from attending any of her concerts.

The 25-year-old will also be subject to electronic monitoring, the judge said.

Long turned himself in last December and in May, pleaded guilty to charges including mischief and data and identity fraud.

During his sentencing hearing, it was revealed Long accessed and downloaded some of Jepsen’s personal documents including a recording contract and her tour schedule.

He also downloaded some of her personal photographs and of a “personal and sensitive nature,” a Crown counsel spokesman said.

Long then communicated with gossip website TMZ, but it is unclear whether he was trying to sell any of the photos or videos.

Long also admitted he posted an inappropriate photograph and comment on one of Jepsen’s social media sites – creating the impression it was posted by her.

Jepsen, a Mission, B.C. native, has said Long's actions were "distressing" for her.

With files from CTV British Columbia’s Scott Roberts