ROSE, J. Appeal from a judgment of the County Court of Saratoga County (Sypniewski, J.), rendered July 14, 2015, convicting defendant upon his plea of guilty of the crime of criminal possession of marihuana in the second degree.

In March 2015, pursuant to a negotiated plea agreement, defendant waived indictment and pleaded guilty as charged in a superior court information to a single count of criminal possession of marihuana in the second degree stemming from the cultivation and possession of marihuana inside the home of defendant and his codefendant wife (seePenal Law § 221.25 ). In exchange for defendant's guilty plea, the People promised defendant that his wife, in full satisfaction of the charges against her, would be allowed to plead guilty to a misdemeanor by admitting to allowing marihuana to be grown on her property without destroying it in violation of the Public Health Law (seePublic Health Law § 3382 ). Following his wife's guilty plea to the misdemeanor, but before his sentencing, defendant filed a motion to withdraw his guilty plea alleging, among other things, that his plea was coerced because the People forced him to plead to a reduced charge conditioned on a specific sentence of jail followed by five years of probation and a promise not to prosecute his wife on felony charges. The People opposed the motion, and County Court, in a June 2015 order, denied defendant's motion, finding that defendant's plea was made knowingly and voluntarily and that there was no element of coerciveness in any aspect of the negotiated plea agreement. Thereafter, in accordance with the plea agreement, County Court sentenced defendant to six months in jail with five years of probation. Defendant now appeals.

We affirm. While defendant's contention that County Court abused its discretion in denying his motion to withdraw his guilty plea is not precluded by the appeal waiver and was preserved by his unsuccessful motion to withdraw his guilty plea (see People v. Burns,133 A.D.3d 1045, 1046, 20 N.Y.S.3d 669 [2015] ; People v. Colon,122 A.D.3d 956, 957, 994 N.Y.S.2d 725 [2014] ), we find his claim to be without merit. “ ‘Whether to permit a defendant to withdraw his or her plea of guilty is left to the sound discretion of County Court, and withdrawal will generally not be permitted absent some evidence of innocence, fraud or mistake in its inducement’ ” (People v. Burns,133 A.D.3d at 1046, 20 N.Y.S.3d 669, quoting People v. Massia,131 A.D.3d 1280, 1281, 15 N.Y.S.3d 515 [2015], lv. denied 26 N.Y.3d 1041, 22 N.Y.S.3d 170, 43 N.E.3d 380 [2015] [internal quotation marks, brackets and citations omitted]; see People v. Riddick,136 A.D.3d 1124, 1124, 24 N.Y.S.3d 456 [2016] ). “[S]o long as the plea agreement is voluntarily, knowingly and intelligently made, the fact that it is linked to the prosecutor's acceptance of a plea bargain favorable to a third person does not, by itself, make defendant's plea illegal” (People v. Fiumefreddo,82 N.Y.2d 536, 544, 605 N.Y.S.2d 671, 626 N.E.2d 646 [1993] ; see People v. Eaddy,200 A.D.2d 896, 897, 606 N.Y.S.2d 928 [1994], lv. denied 83 N.Y.2d 852, 612 N.Y.S.2d 383, 634 N.E.2d 984 [1994] ).

While defendant's wife received a favorable outcome or “third-party benefit” that was conditioned upon defendant's guilty plea, her receipt of that benefit “is simply one factor for a trial court to weigh in making the overall determination whether [defendant's] plea is voluntarily entered” (People v. Fiumefreddo,82 N.Y.2d at 544, 605 N.Y.S.2d 671, 626 N.E.2d 646 [brackets omitted]; see People v. Brown,14 N.Y.3d 113, 117–118, 897 N.Y.S.2d 674, 924 N.E.2d 782 [2010] ). Defendant indicated that he understood all of the terms of the plea agreement, including the agreed-to sentence of six months in jail and five years of probation, and that he reviewed those terms with his attorney. He further acknowledged that acceptance of the plea bargain was in his best interests. Defendant also, while represented by counsel with whom he had expressed his satisfaction, made an allocution to the crime of which he was convicted and stated that his plea was not coerced. Nor did defendant raise or indicate any concerns about the plea agreement or its terms during his plea colloquy. Accordingly, notwithstanding the “connected or wired” nature of defendant's plea (People v. Fiumefreddo,82 N.Y.2d at 544, 605 N.Y.S.2d 671, 626 N.E.2d 646 ), based upon our review of the entire record before us, we are convinced that defendant made a “knowing, voluntary and intelligent choice among alternative courses of action” (People v. Conceicao, 26 N.Y.3d 375, 384, 23 N.Y.S.3d 124, 44 N.E.3d 199 [2015] [internal quotation marks and citation omitted]; see People v. Fiumefreddo,82 N.Y.2d at 543, 605 N.Y.S.2d 671, 626 N.E.2d 646 ; People v. Pelkey,63 A.D.3d 1188, 1189–1190, 879 N.Y.S.2d 842 [2009], lv. denied 13 N.Y.3d 748, 886 N.Y.S.2d 102, 914 N.E.2d 1020 [2009] ; People v. Eaddy,200 A.D.2d at 897, 606 N.Y.S.2d 928 ).