Two city men have pleaded guilty to charges they plotted to help the Islamic State group.

Queens resident Munther Omar Saleh admitted to multiple charges.

He admitted to supporting the group knowing it engaged in terrorism and to speaking with a person he believed was an Islamic State recruiter.

Saleh's co-defendant and Staten Island resident Fareed Mumuni pleaded guilty a day earlier.

Prosecutors say they were planning to carry out an attack with pressure cooker bombs and to travel overseas to fight for the group.

Mumuni was arrested back in 2015 after authorities say he tried to kill a federal agent who was searching his home in Mariners Harbor.

Both are set to be sentenced in May.