An appeals court has affirmed a two-month jail sentence for a blogger whose case prompted the state Court of Appeals to rule that the state’s second-degree aggravated harassment statute was unconstitutional.

A unanimous panel of the Appellate Division, First Department, upheld Manhattan Supreme Court Justice Laura Ward’s sentence, which included three years of probation, for Raphael Golb in People v. Golb, 13595.