Edwin Vargas, 42, a detective with the New York City Police Department (NYPD), recently pled guilty to one count of conspiring to commit computer hacking and one count of computer hacking in connection with his use of e-mail hacking services to access at least 43 personal e-mail accounts (h/t Wired).

In total, Vargas paid the services more than $4,000 for at least 30 different people's login credentials, including 20 current or former NYPD officers and one NYPD administrative employee.

He also admitted having accessed the National Crime Information Center (NCIC) database to obtain at least two NYPD officers' information without authorization.

"Detective Edwin Vargas broke the law, instead of upholding it as he swore to do," Manhattan U.S. Attorney Preet Bharara said in a statement. "He accessed a law enforcement database without authorization and paid hackers to illegally obtain e-mail login information for his fellow officers and others. Vargas’s guilty plea today and his forthcoming punishment make clear that those who illegally invade others' privacy, including members of law enforcement, will not escape prosecution."

Vargas was arrested in May 2013, and is scheduled to be sentenced on March 14, 2014. He faces a maximum sentence of two years in prison.

Photo courtesy of Shutterstock.