Sanctions were levied Tuesday against a divorce lawyer who represented himself in a bitter matrimonial trial against his wife.

Overruling a lower court, a unanimous panel of the Appellate Division, First Department, said Leon Borstein’s post-divorce lawsuit against his ex-wife, Virginia Henneberry, was “intended solely to harass” her.