—Appeal by the defendant from a judgment of the Supreme Court, Kings County (Leventhal, J.), rendered May 7, 2001, convicting him of criminal contempt in the first degree and criminal contempt in the second degree, upon a plea of guilty, and imposing sentence.
Ordered that the judgment is affirmed.
The defendant entered into a plea agreement, and was promised a sentence of probation on condition that he successfully complete a TASC program and refrain from violating an existing order of protection. He was warned that violation of either of the conditions of the plea agreement would result in the imposition of a sentence of 2 to 4 years incarceration.
After a hearing on the defendant’s motion to withdraw his plea, the Supreme Court, Kings County (D’Emic, J.), found that the defendant violated one of the conditions of his plea agreement when, in contravention of the order of protection, he made several postplea telephone calls to the complainant. He was subsequently sentenced, as promised, to two concurrent terms of imprisonment, the longer which was a term of 2 to 4 years incarceration.
The Supreme Court properly denied the defendant’s presentence motion to withdraw his plea. The motion was based on the fact that, due to an immigration “hold,” of which the parties were unaware at the time of the plea, he was ineligible for the TASC program in which he was supposed to participate.
While the impossibility of the defendant’s complying with this condition might well have required that he be furnished with an opportunity to withdraw his plea had he otherwise honored his end of the agreement (see e.g. People v DeValle,
