The race was only the second time in two decades that Dinowitz, a mainstream liberal, has even faced a primary challenge in the heavily Democratic district.
A slate of left-wing candidates have mounted robust campaigns to unseat Democratic incumbents, an effort that party leaders characterize as a display of “arrogance.”