Johnny Manziel and Dallas prosecutors on Friday finalized a plea deal on his assault case that would spare the former Cleveland Browns quarterback jail time and, ultimately, lead to the dismissal of the charge.

The Dallas County District Attorney’s office agreed to the conditional agreement, which requires Manziel to undergo counseling and have his conduct monitored by prosecutors for up to a year. Prosecutors would drop the misdemeanor charge that stemmed from an altercation with his former girlfriend in January.

“A conditional dismissal agreement is only the beginning of the process of educating an individual on how to make better choices when facing conflict,” the Dallas County District Attorney’s office said in a statement to USA TODAY Sports. “It is an important first step for a defendant. Success or failure will depend on one’s commitment to the treat programs included.”