Law enforcement officials say a New Jersey doctor has admitted to selling prescriptions for a narcotic painkiller and falsifying records.

William Kropinicki (NJ Attorney General's Office)

New Jersey's attorney general says William C. Kropinicki pleaded guilty Wednesday to all the charges against him, during his trial in Superior Court in Trenton.

The 59-year-old Morrisville, Pa., resident formerly practiced medicine in Lawrence, N.J.

Prosecutors say Kropinicki sold prescriptions for Percocet to a drug dealer. Investigators say Kropinicki wrote the prescriptions for patients he had never treated or examined. He allegedly then created fraudulent medical records to back up the prescriptions.

Kropinicki pleaded guilty to second-degree crimes of conspiracy and distribution of oxycodone, a third-degree charge of obtaining a controlled dangerous substance by fraud; and a fourth-degree falsification or alteration of medical records charge.

(Copyright 2012 by The Associated Press.  All Rights Reserved.)