Neil Cohen, a New Jersey lawyer who served for 16 years in the state Assembly, pleaded guilty Monday to endangering the welfare of a child by distributing child pornography, a second-degree crime that will send him to prison and most likely get him disbarred.

Cohen, 59, admitted to Mercer County Superior Court Judge Gerald Council that he viewed child pornography images on a computer in his 20th District legislative office in Union Township and printed copies that he put in the desk of a female receptionist.