A woman said she would not contest charges of hacking the email account of Selena Gomez’s assistant before sharing stolen images online, prosecutors in Los Angeles have said.

Susan Atrach, 22, accessed the emails of Theresa Mingus between August 2015 and February 2016, according to the Los Angeles County District Attorney’s Office.

Selena Gomez
A woman has pleaded no contest to hacking the emails of Selena Gomez’s assistant (PA Wire/PA Wire)

Atrach, from New Jersey, pleaded no contest to one count each of identity theft and network intrusion.

She had earlier been accused of hacking US singer and actress Gomez’s emails but the charges have been dropped.

On Monday she was sentenced to five years probation and 160 hours of community service.

Under the terms of the plea agreement, Atrach must prove that she is in school or has a job.