A judge ruled that lawsuits against the city and maniac driver Richard Rojas — who drove a Honda Accord into a crowd of pedestrians in Times Square in 2017, killing one — will be put on hold until his criminal trial is over.

Rojas was sued by six victims of the rampage, which he allegedly carried out while high on PCP. The victims also sued the city, claiming it should have put up barriers along the sidewalks in Times Square to protect the pedestrians.

In May, city lawyers asked that the civil cases be stayed until Rojas’ criminal trial concluded.

Manhattan Supreme Court Justice Lyle Frank granted the request Friday to put the civil cases on hold until after the murder trial — which is slated for January — with the caveat that the stay wouldn’t continue during any potential appeal or future proceedings in his criminal case. He said records in the case can still be exchanged.

A lawyer who represents the plaintiffs in the case, Gregory Sobo, said he’s happy that even though the case is stayed records will still begin to be exchanged.

A rep with the city Law Department said, “It’s the right decision for the reasons our lawyer mentioned in her letter to the court.”

Rojas’ civil lawyer said they didn’t take a position on the request for a stay adding that the car insurance policy payout had already been offered to the victims to receive at the end of trial.

Michigan tourist Alyssa Elsman, 18, was killed in the attack. She was with her 13-year-old sister at the time. Her father and surviving sister have since joined the lawsuit.