If you or someone you know is having thoughts of suicide, please contact the National Suicide Prevention Lifeline at 988.

The accused New York City "duck sauce killer" who allegedly shot himself on Aug. 5 while awaiting trial reportedly claimed that he was supposedly innocent but could not bear staying any longer in the conditions at the notorious Rikers Island jail complex.

According to the note filed in Queens Criminal Court on Monday, Glenn Hirsch described his case as "very winnable," but also ripped the New York Police Department for its "sloppy" work. 

"I … hereby declare my innocence in connection with the death of Mr. Zhiwen Yan … I did not shoot Mr. Yan and I am not responsible for his death," Hirsch wrote in an apparent suicide note addressed to the judge in his case, Justice Kenneth Holder, according to reports. 

NYC ACCUSED ‘DUCK SAUCE’ KILLER'S WIFE PLEADS NOT GUILTY TO WEAPONS CHARGES OVER GUNS FOUND AT HOME: REPORT 

Zhiwen Yan motorbike on ground

Food delivery man fatally shot over duck sauce on 108 street in forest hills queens on 4-30-2022 (Peter Gerber)

Glenn Hirsch in a mask led out of court

Glenn Hirsch is walked from the New York Police Department 112th Precinct station house on Thursday, June 2, 2022, in Queens, New York.  (Barry Williams/New York Daily News/Tribune News Service via Getty Images)

"After my edifying monthlong stay on Rikers Island, I have elected not to return to the jail for the next two years pending trial," Hirsch continued in the note. "I did however enjoy playing chess, but as a practical matter, the accommodations left much to be desired."

Hirsch was arrested and charged about a month after the April 30 deadly shooting of 45-year-old Zhiwen Yan, who was killed while making deliveries for the Great Wall Restaurant in Forest Hills, Queens. Authorities said Hirsch had a longstanding dispute with the restaurant after allegedly being enraged when he did not receive enough duck sauce for an order. 

CLICK HERE TO GET THE FOX NEWS APP

"I’m not one who would ever willingly give up the fight," he wrote. "But the pain associated with this series of events is too much to bear. I haven’t made an emotional decision, but rather an intellectual one. Try as I may, I’ve analyzed the problem, and there is no solution."