NEW YORK (CBSNewYork) — Three construction workers were injured Wednesday afternoon when a driver lost control on the Upper East Side.

The accident happened around 2:45 pm. at 87th Street and Lexington Avenue, officials told CBS2.

READ MORE: NJ TRANSIT Bus, Car Crash In Irvington Takes Out Utility Poles

Police said the driver had some sort of medical emergency and lost control of the car. He sideswiped another vehicle before crashing into the workers, police said.

READ MORE: Judge Lifts Temporary Pause On Vaccine Mandate For NYC Teachers And Other City Workers, Who Now Must Be Vaccinated By Monday

The workers were all rushed to NewYork Presbyterian-Weill Cornell Medical Center with non-life-threatening injuries, police said.

MORE NEWS: Mattress Giveaway In Queens Highlights Depth Of Need That Remains 3 Weeks After Ida

The workers were all subcontractors for Con Edison.