Acting Brooklyn District Attorney Eric Gonzalez won a decisive victory on Tuesday in a six-way Democratic primary, while only one of a slate of five “insurgent” candidates for Brooklyn Civil Court was able to capture a seat on the bench.

With nearly all precincts reporting, Gonzalez won 53 percent of almost 145,000 votes, according to the city Board of Elections.