The agreement means no jail time.