cop a plea

Definition from Nolo’s Plain-English Law Dictionary

Slang for a plea bargain in which an accused defendant in a criminal case agrees to plead guilty or "no contest" to a crime. In return, the prosecutor promises to recommend a lenient sentence, or may agree to drop some of the charges. Often the judge agrees to the recommendation before the plea is entered (becomes final).

Definition provided by Nolo’s Plain-English Law Dictionary.