Firefighters Ryan Warnock and Michael Reilly turned themselves in to the Brooklyn district attorney. They were arraigned Thursday night and released on their own recognizance. They could face up to four years in prison if convicted of first-degree riot, a felony.

A third firefighter, Christopher Emmel, was released hours after he surrendered when witnesses could not pick him out of a lineup, law enforcement sources said.

Warnock, 32, and Reilly, 45, were allegedly captured on video last month throwing punches at the Salty Dog in Bay Ridge during a wild fight that spilled into the street and the men’s room.

“The videotape does not tell us what happened,” said Warnock’s lawyer, Robert Gallo. “I’m not trying to minimize this. There was bad behavior from both parties.”

Warnock, who suffered a fractured nose in the fracas, and Reilly appeared somber-faced and said nothing as they entered the DA’s office in driving rain at about 6a.m.

A dozen active and retired firefighters from Engine 310/Ladder 174 were drinking in the popular FDNY hangout on Jan. 30 when a spilled drink triggered the fracas.

Assistant District Attorney Kevin Richardson said 10 firefighters dragged one of the victims, Sinan Selmani, an assistant soccer coach at St. Francis College, into the bathroom, threatening, “We are going to kill you.”

Selmani suffered a broken eye socket in the fight that erupted after his cousin spilled a shot on a firefighter. Six other patrons, including three of Selmani’s cousins, were hurt in the brawl.