Judgment of the Supreme Court, New York County (Burton Roberts, J.), rendered on December 17,1981, convicting defendant, upon a plea of guilty, of attempted robbery in the second degree and sentencing him as a second felony offender to an indeterminate prison term of 2Vz to 5 years to run consecutively with a 16-year Federal term of imprisonment, is affirmed, without prejudice to defendant moving to withdraw his plea. 11 Defendant asserts that he was deprived of his rights under the Interstate Agreement on Detainers pursuant to CPL 580.20 when the prosecution failed to bring him to trial for more than 180 days after his request, while he was in Federal detention, for disposition of State charges pending against him. It is the position of the People that the Agreement on Detainers is inapplicable to the instant situation. The contend that as a result of the discovery of new evidence, a superseding indictment was obtained which contained different charges than those in the first indictment. Thus, the charge to which the defendant ultimately pleaded guilty was not, they claim, the subject of an accusatory instrument at the time that the defendant was brought to New York but was, instead, the product of a subsequent indictment filed after his return to this jurisdiction. However, as the Court of Appeals has held in People v Lomax (
