Three Brooklyn men have been indicted on murder and other charges stemming from last year’s killing of Carey Gabay, an aide to Gov. Andrew M. Cuomo, officials said Wednesday morning.

Brooklyn District Attorney Kenneth Thompson and NYPD Commissioner William Bratton said at a news conference that the three were charged with creating “a killing field” in a gunfight during the J’Ouvert Festival last September in Brooklyn, which led to the fatal wounding of Gabay, 43, a lawyer in the Cuomo administration. The festival is a prelude to the larger West Indian Day parade.

Charged in the indictment were Micah Alleyne, 24, Tyshawn Crawford, 21, and Keith Luncheon, 24, all of Brooklyn, said Thompson. They each face charges of second-degree murder, second-degree criminal possession of a weapon and first-degree reckless endangerment, officials said. All three were scheduled to appear in Brooklyn criminal court later Wednesday.

A fourth man, Stanley Elianor, 25, also of Brooklyn, was charged with weapons possession in connection with the case, officials said.

Alleyne had been arrested in May and had made statements to detectives in which he indicated he was in the area and fired his weapons from a patio ledge, Thompson said.

Gabay, who worked as an assistant counsel to Cuomo and later as a deputy counsel for the Empire State Development Corp., was gravely wounded in the predawn hours of Sept. 7 while among a crowd celebrating the festival of J’Ouvert, an event that preceded the West Indian Day parade later that day. Gabay, who was in a coma and on life support, died Sept. 15.

A website set up to memorialize Gabay said he was originally from Jamaica and had lived in city public housing before he graduated from both Harvard University and Harvard Law School.

In October, police said at least four people, including one woman, were being sought in the gunfight in which an errant shot hit Gabay in the head. NYPD officials told Newsday that investigators had used facial-recognition software to identify suspects captured on video holding guns or shooting.

Investigators had examined more than 300 videos since the shooting and forensic experts went over 27 mostly 9-mm shell casings found at the scene.