A man who pleaded guilty to rare state-level charges that he plotted to blow up New York City synagogues could get 10 years in prison.

Ahmed Ferhani (fur-HAH'-nee) was one of two men arrested in a May 2011 weapons-buying sting. Authorities called him a home-grown terrorist out to avenge abuse of Muslims around the world.

His sentencing is expected Friday afternoon in Manhattan's state Supreme Court.

His lawyers initially portrayed Ferhani, a native of Algeria, as mentally unstable. They said the prosecution was based on insufficient evidence and dubious tactics.

He pleaded guilty in December.

A grand jury declined to indict Ferhani and a co-defendant on a top-level terror conspiracy charge.