MADISON — A Madison police officer was sentenced to six years in state prison today for soliciting a nude photo from an investigator posing as a 13-year-old girl online, the state Attorney General's Office said in a news release.



James N. Haspel, 50, of Chatham, pleaded guilty to attempted distribution of child pornography in August. The 25-year veteran of the Madison police department forfeited his job and must register as a sex offender. He will also be barred from future public jobs.



Haspel admitted that from December 2009 to May 2010, he talked online with a person he believed to be a 13-year-old-girl, sometimes using a borough computer at police headquarters in Madison. The girl was actually a New Jersey State Police detective.

Related coverage:

• Madison police officer accused of exposing himself online to detective posing as 13 year old