A Long Island, N.Y., karate instructor has admitted he molested a dozen boys in a plea agreement that will send him to prison for up to 18 years.

James Bonfiglio pleaded guilty Friday to 60 counts including sexual abuse, possession of child pornography and endangering the welfare of children.

The former owner of Excel Karate Academy in Ronkonkoma molested the boys from 2003 until his arrest in October 2007. Suffolk County Court Judge Barbara Kahn indicated she accepted Bonfiglio's guilty pleas so the victims wouldn't have to testify about the offenses in open court.

Detectives found graphic video on Bonfiglio's computer and cameras hidden in the bathroom of his Ronkonkoma apartment and karate school.