Barmerito was originally charged with four counts of third-degree sodomy and one count of first-degree official misconduct, but his plea agreement dismissed four charges while reducing one sodomy charge to wanton endangerment.