Iraqi soldiers hold a flag that they seized from the Islamic State group on April Getty Images

ANewYorkCityteenager accused last year of helping a college student plan anIslamicState-inspired plot to set off a pressure cooker bomb in the city has pleadedguiltyto a non-terrorismchargeof conspiring to impede federal officers.


Imran Rabbani, who was 17 when he was arrested in June, pleadedguiltyon Friday in federal court in Brooklyn, a spokeswoman for U.S. Attorney Robert Capers said late on Monday.


As part of a plea deal, Rabbani agreed to drop an appeal of a November ruling allowing him to be tried as an adult for a priorchargeof conspiring to provide material support toIslamicState, said his lawyer, Richard Willstatter.


RELATED:As ISIS is pushed back in Iraq, worries about what's next


Rabbani, who faces a maximum of six years in prison, was one of six young men inNewYorkandNewJerseycharged last year in the investigation of a group of alleged supporters ofIslamicState, which has seized control of parts of Iraq and Syria.


More than 80 people have beencharged since 2014 in U.S. federalcases related toIslamicState, which has claimed responsibility for the Brussels bombings in March that killed 31 people and the Paris attacks in November that killed 130.

Authorities previously alleged that Rabbani, now 18, discussed with Munther Omar Saleh, a college student in the borough of Queens, plans to assemble an explosive device to set off in theNewYorkmetropolitan area.

In June, law enforcement followed the two men in a surveillance vehicle when Rabbani and Saleh got out of their vehicle and ran at the agents, prompting their arrest at gunpoint, authorities said.

The plea by Rabbani, previously identified only as "John Doe," regarded only the June incident.

"My client is not a member of ISIS and never claimed to be a member of ISIS," said Willstatter, using another name forIslamicState.

RELATED:Most Americans support torture against terror suspects: New poll

The other men in relatedcases inNewJersey have pleadedguilty. Nader Saadeh pleadedguiltyin December to conspiring to provide material support toIslamicState.

Prosecutors said Saadeh traveled to Jordan in May intending to get to either Iraq or Syria to joinIslamicState, but was detained by Jordanian authorities.

Prosecutors said Saadeh discussed his plans to joinIslamicStatewith his brother, Alaa Saadeh, as well as Samuel Rahamin Topaz, Saleh and Mummuni.

Alaa Saadeh and Topaz, who prosecutors said also planned to joinIslamicState, have also pleadedguilty.