A Lansford police officer entered a guilty plea in Carbon County court on Tuesday to one count of corruption of a minor.

Robert J. Shubeck, 40, of Nesquehoning, entered the plea before President Judge Roger N. Nanovic II. However, in a plea bargain with the state Attorney General's office, charges relating to an alleged sexual relationship he had with a teenage boy were not part of the plea agreement.

The attorney general's office took over prosecution of the case at the request of county District Attorney Gary F. Dobias.

Dobias recused his office from prosecuting the case, citing a conflict of interest since his office regularly deals with the Lansford Police Department in the prosecution of criminal cases.

The original corruption charge, one of five filed against him, charged Shubeck with supplying alcohol to the minor teen, engaging in sexual activity with the victim, who was 17 and 18 at the time, and also permitting the teen to view pornography numerous times.

The section of the charge concerning the alleged sexual activity and viewing pornography was dropped. Shubeck only admitted to supplying the teen with alcohol.

Also dropped were charges of criminal attempt of official oppression, stalking, selling or furnishing liquor or malt or brewed beverages to minors, and harassment.

State police at Lehighton received a call from the victim's mother on Dec. 24, 2012, stating her then 18-year-old son had been involved in an inappropriate relationship for five months with Shubeck. The alleged incidents began in July 2012, troopers said, and the contact continued until December. Charges were not filed until Oct. 30, 2013.

However, Shubeck's plea does not involve any of the allegations made concerning the alleged sexual misconduct with the teen.

Nanovic accepted the plea but deferred sentencing ordering the adult probation department to prepare a presentence investigation report.

Shubeck was suspended from his position by Lansford council in December 2013.