A man who admitted hacking hundreds of email accounts and stealing explicit photos from several celebrities has been sentenced to six months in US federal prison.

US district judge John A Kronstadt sentenced Andrew Helton, from Astoria, Oregon, to jail and two years of supervised release.

Helton pleaded guilty in March to stealing 161 nude or explicit photos from 13 people, including unidentified celebrities.

Jennifer Lawrence attends Joy screening
Actress Jennifer Lawrence, who was not involved in Helton’s hacking, was a victim of having stolen intimate photos released (Matt Crosswick/PA)

Authorities have said they do not believe any of the images he stole were publicly released.

Helton’s lawyer said he should not receive a prison sentence because the phishing technique he used was not technologically sophisticated.

Helton himself said his arrest had forced him to confront his mental health issues and change his life.

Prosecutors said his actions caused significant emotional harm to his victims.