SCRANTON, Pa. (AP) _ A man told a judge he believed he was doing a good deed by planting explosives at an X-rated drive-in and a store selling adult books.

''I figured I'd put them out of business,'' Thomas A. Lapinski, 48, of Duryea told U.S. District Judge William Nealon.

Lapinski pleaded guilty Wednesday to two counts of attempting to damage and destroy by means of fire or explosives. Under the plea bargain, two other charges were dropped.

Lapinski was accused of planting 14 bombs in March on guy lines securing the screen at the Oak Hill Drive-In in Moosic. He also was charged with planting explosives July 12 in the Playtime Boutique in Dickson City.

He told the judge that pornographers were ''filth merchants'' and that he felt he was performing a ''good deed ... a noble work.''

Assistant U.S. Attorney Mel Mannion said Lapinski could receive up to 20 years in prison and fines of $500,000. No sentencing date was set.

Lapinski is being held without bail at Lackawanna County Prison. He faces related charges in Lackawanna County Court.