
95 N.Y.2d 827 (2000)
734 N.E.2d 749
712 N.Y.S.2d 437
THE PEOPLE OF THE STATE OF NEW YORK, Appellant,
v.
ANDREW LASALLE, Respondent.
Court of Appeals of the State of New York.
Argued June 6, 2000.
Decided June 29, 2000.
*828 Jeanine Pirro, District Attorney of Westchester County, White Plains (Richard Longworth Hecht and Richard E. Weill of counsel), for appellant.
Kevin P. Gilleece, White Plains, for respondent.
Before: Chief Judge KAYE and Judges BELLACOSA, SMITH, LEVINE, CIPARICK, WESLEY and ROSENBLATT concur.

OPINION OF THE COURT
MEMORANDUM.
The order of the Appellate Division should be affirmed. In this case, the Appellate Division ruled that the trial court "erred in imposing consecutive sentences for the defendant's convictions of sodomy in the first degree and criminal use of a firearm in the first degree since both convictions arose out of a single incident" (258 AD2d 668, 669). Its order modified the judgment by "deleting the provision thereof imposing consecutive indeterminate terms of imprisonment and substituting therefor a provision that all of the sentences shall run concurrently to one another" (id.).
*829 The sole issue raised in the People's appeal is whether, under CPL 470.20, the Appellate Division's only available corrective action on the illegal sentence was to remit for resentencing by the trial court. To the contrary, an intermediate appellate court, in exercising its responsibility under CPL 470.20 to take "such corrective action as is necessary and appropriate," has the discretion, upon reversing or modifying a sentence, either to remit to the trial court for resentencing or to substitute its own legal sentence for the illegally imposed sentence. The Appellate Division did not abuse its discretion by choosing the latter option.
Order affirmed in a memorandum.
