“It is hard — if not impossible — to reconcile the District Attorney’s prosecution for [Liang’s] accidental shooting with the decision of that same office not to prosecute, or even present to a grand jury, the fatal shooting of 32-year-old construction worker Gilbert Drogheo [last March] by retired corrections officer, William Groomes,” the lawyers wrote.

But Danny Chun, in a courtroom filled with Gurley’s family and supporters, was not convinced, and said a trial date will be decided Sept. 29

Liang, 27, was on a vertical patrol in Brooklyn’s Pink Houses last November with his partner when he entered a darkened stairwell with his service weapon drawn. His gun discharged, and the bullet ricocheted off a wall, hitting Gurley in the chest on a landing below.

Thompson acknowledged that Liang did not intend to kill Gurley, 28, but pointed out that Liang “had his finger on the trigger, and he fired the gun.”

The two then argued for four minutes about who should report the accident, as Gurley lay bleeding out in the staircase below.

“You call,” Liang allegedly said.

“No, you call,” Landau shot back.

In the case involving Groomes, prosecutors said there was a struggle for gun, which spared Groomes an indictment.

A spokeswoman for Thompson, whose mother is a retired NYPD officer, said the bias charge is “absurd.”

“To suggest that this case has a similar set of facts to the Groomes case is preposterous,” a Thompson spokeswoman said in a statement. “In the Groomes case the deceased reached for Mr. Groomes’ hand and there was a struggle over a gun. There was no struggle here, it was a completely different kind of discharge.”

Before the proceedings, Liang appeared nervous. After his motion was denied, protesters, including Gurley’s aunt Herntencia Petersen yelled “Justice for Akai Gurley.”

“We will be here everyday until justice is served,” said Gurley’s domestic partener, Kimberly Ballinger.