A convicted sex offender from Brooklyn was sentenced to 30 years in prison.

The U.S. attorney says 34-year-old Joseph Grunwald was sentenced for coercing and enticing a minor to engage in sexually explicit conduct.

Prosecutors say he also possessed child sex abuse materials.

Grunwald had two prior convictions for sexually assaulting children, one of which was inside a synagogue.

In those previous cases, he only received probation.