Writing that it had to protect the public, a state appeals court has disbarred a Manhattan lawyer for what it said was “egregious and outrageous” conduct during a long, bitter divorce and child custody battle with his now ex-wife.

Anthony Jacob Zappin, once an associate at Mintz, Levin, Cohn, Ferris, Glovsky and Popeo, was found to have lashed out for years while representing himself during legal warfare with Claire Comfort, his former wife who is also an attorney.