Liverpool FC defender Dejan Lovren was hacked on social media by a Reds fan.

The Croatian World Cup footballer's family photos and even an image of his identity card were uncovered by police on Peter Doswell's computer.

Doswell, from Selkirk, admitted the offence at his home in the Scottish Borders in April last year.

(Image: Patrick Smith - FIFA/FIFA via Getty Images)

A court heard how the 22-year-old Liverpool fan had accessed the private contact details of Lovren's Liverpool teammate Adam Lallana and and former colleague Emre Can , reports the BBC .

He had then sent messages on their personal social media accounts and mobile phones asking them questions.

Doswell pleaded guilty to knowingly causing a computer to perform a function with intent to secure unauthorised access to a program or data held on a computer.

(Image: Alex Livesey/Getty Images)

He was handed 225 hours of unpaid work and put under supervision for two years and three months.

His lawyer Mark Harrower described it as an "unusual case" and said his client was "not an experienced hacker."

He suggested a third party was involved given the level of expertise required but that Doswell had gone along with it and had carried out some of the actions himself.

An examination of Doswell's computer by Police Scotland's cyber crime unit found 155 video folders featuring Lovren and his family, eight text documents relating to Lovren's purchase of a property in London and a club letter from Liverpool - information that would not be publicly available.

Doswell's laptop contained details of phishing and software used to hack email accounts.

(Image: Andrew Powell/Liverpool FC via Getty Images)

The court heard that it was after he contacted Can that the German had informed team manager Jurgen Klopp and at the same time Lovren realised his Facebook page had been compromised.

Merseyside Police were informed and Police Scotland contacted when all the evidence was traced to Doswell's home in Selkirk.

Mr Harrower admitted his client was guilty of a "huge intrusion" but added that the guilty plea had avoided the need for the Liverpool players to give evidence at a trial.

Show more

Sheriff Mark Thorley told Doswell it was a "serious offence".

As an alternative to prison he was placed under supervision with a conduct requirement restricting his use of the internet and ordered to carry out unpaid work as part of a community payback order.

Lovren has played in all four of Croatia's World Cup matches in Russia and is due to line-up against the host nation in the quarter finals this Saturday.