Rescuers save a worker who was trapped in the 2nd Avenue subway tunnel early today. Photo: Byron Smith

Firefighters rescued a worker at the Second Avenue Subway construction site early this morning after he became lodged in “cement-like” mud for nearly four hours on the Upper East Side, an FDNY source said.

More than 140 firefighters responded and three were injured in the rescue attempt after the worker became stuck in the thick muck 75 feet beneath East 95th Street at about 8:30 p.m. He was waist-deep in the mud for hours before he could be safely lifted to the surface.

The worker was suffering from hypothermia when responders pulled him out at 12:28 a.m. and took him to Cornell Medical Center.

A fire official on the scene said the worker was underground when his leg became stuck in the slurry, a moist mixture of cement and mud, and pulled him in.

Rescuers used a machine to spray water on the earth around him to soften it up but it didn’t work. They then tried to use plywood. but it became stuck in the muck as well.