NEW YORK (CBSNewYork/AP) — The man accused of killing four people and wounding four others in a 28-hour rampage last month told police he had cancer, lamented his family life, said he wished police had shot him and declared he had experienced “a doozy of a day,” authorities said in a court document released Tuesday.

As Maksim Gelman appeared for a court date via video link from Bellevue Hospital, Manhattan prosecutors filed an account of his remarks to officers after his Feb. 12 arrest. Meanwhile, a lawyer entered Gelman’s not-guilty plea for him in a subway stabbing.

READ MORE: All New Jersey Residents Age 16 And Up Now Eligible For COVID Vaccine

PHOTO GALLERY: New York City Stabbing Spree

Authorities say Gelman’s sudden kitchen-knife attack on a subway rider marked the end of a spree that stretched from Brooklyn to Manhattan and included killing a relative and acquaintances, running over a pedestrian, carjacking and other violence. Police tackled Gelman and arrested him on a subway train beneath Times Square.

1010 WINS’ Juliet Papa with details from Gelman’s video link court appearance

“I’m sorry, I’m sorry,” he told officers after his arrest and added, “I would’ve been better off if you shot me,” according to the document filed Tuesday. He soon acknowledged having knives and razor blades in his coat pocket and said, “I’m the guy you’re looking for,” adding an unexplained comment about getting “a raw deal” from the FBI, the document said.

He went on to say that his family was messed up and warned an officer to “stay away from angel dust,” a street term for the powerful hallucinogen PCP, according to the document.

“I did this because I have cancer,” he added, according to the document.

In short, he said, “I’ve had a doozy of a day,” the document says.

Gelman’s lawyer, who was at the hospital with him Tuesday, didn’t immediately return a phone message left by The Associated Press after the hearing. Gelman didn’t speak and watched the proceeding calmly from a chair in a hospital where he is being held without bail.

READ MORE: Attorney General Letitia James Asked To Investigate Whether Andrew Cuomo Used State Resources To Write, Promote His Book

Gelman previously told reporters the case was a setup and that his mind sometimes “isn’t right.” Another of his lawyers later got a court order barring the media from interviewing him.

Yelena Bulchenko with her mother Anna. (Credit: Facebook)

The Ukraine-born Gelman’s deadly spree started with a family argument over the use of Gelman’s mother’s car, police said.

After killing his stepfather, Aleksandr Kuznetsov, 54, in the family’s Brooklyn apartment, Gelman went to the home of a female acquaintance, Yelena Bulchenko, 20, police said. Bulchenko’s friends have said he was obsessed with her and imagined a romantic relationship with her.

Gelman killed her mother, 56-year-old Anna Bulchenko, waited hours for the daughter to return and stabbed her 11 times, authorities said.

Gelman made a disjointed and profanity-laced comment to an officer about “her … mother, man, and my ex-girlfriend, you know how it is,” according to the document filed Tuesday.

Gelman left the Bulchenkos’ home, rear-ended another car and stabbed its driver, police said. The driver survived.

Stealing the wounded man’s car, Gelman drove off and plowed into pedestrian Stephen Tanenbaum, 62, who died from his injuries, police said. After abandoning the car, Gelman later hailed a livery cab and attacked its driver, then approached another car, attacked a man inside and seized the car, police said. Both men survived.

All those attacks happened in Brooklyn. Gelman was next spotted on a subway in Manhattan, where passengers recognized him from newspaper photographs and notified police, authorities said. He dashed across the tracks, switched trains and attacked passenger Joseph Lozito, telling him “You’re going to die!” authorities said. Lozito, of Philadelphia, survived head and arm wounds that needed dozens of stitches and staples, authorities said.

Gelman has a court date April 12 in Brooklyn, where he faces murder and other charges; he has not yet entered a plea to them. His next Manhattan court date is in June.

MORE NEWS: Queens Teen Thanks Doctors At Long Island Hospital Where 'Last Resort' COVID Treatment Saved Her Life

(TM and Copyright 2011 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2011 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)