Munther Omar Saleh, 22, was sentenced to 18 years in prison and 10 years’ supervised release in Brooklyn federal court after pleading guilty last year to conspiring to help the jihadist group and assaulting a federal law enforcement officer.

Saleh, a student at Vaughn College of Aeronautics and Technology in Queens, worked with late British ISIS recruiter Junaid Hussain to construct a pressure-cooker bomb and also discussed potential New York targets with him — including the Statue of Liberty.

They also plotted for Saleh’s co-defendant, Fareed Mumuni, to use a similar bomb in a suicide attack on law enforcement officers who had been following the pair around.

Saleh was busted in 2015 after he and another pal ran at the officers on their tail — and the agents subsequently found a knife in the friend’s waistband.

Mumuni, who has also pleaded guilty but has yet to be sentenced, was arrested two weeks later for stabbing an FBI agent who showed up to search his Staten Island home.