When a man got stuck in a storm drain in Antioch, California, on Sunday, he really got stuck, necessitating a major rescue operation.

The man — who has not been named — somehow found himself trapped in a 16-inch pipe 15 feet underground.

Thankfully, good Samaritan Jamie Linsey happened to be walking by and heard shouting coming from the ground.

“I was just walking by and I heard him yelling,” Linsey told KPIX-TV in San Francisco.

“And then all of a sudden like … the noise started getting louder and louder,” he said. “I ended up calling the police.”

[firefly_embed]

[/firefly_embed]

How the man got into that predicament in the first place has not been disclosed, but the rescue was documented by the Contra Costa County Fire Protection District and posted on social media.

“Con Fire is on scene a confined space rescue involving a male subject trapped in a storm drain about 15 ft underground in 3100 block of Buchanan, Antioch,” the district posted on its Facebook page on Sunday.

[firefly_embed]

[/firefly_embed]

“Man is responsive & communicating with rescue personnel. Please avoid area to allow first responders access.”

Heavy equipment and rescuers from various agencies were involved in the operation.

“Active rescue efforts continue in Antioch for a male subject who remains trapped in an underground storm drain,” an update from Con Fire read. “Some 50 rescuers from Con Fire, East County Fire, Antioch PD and City of Antioch are attempting to gain access to the victim from two different directions.”

[firefly_embed]

[/firefly_embed]

Several firefighters were able to get close to the man, and there was hope that he would soon be rescued.

“Four firefighter rescuers have made entry into the underground space where the victim in Antioch remains trapped,” another update from Con Fire read. “They are clearing debris in order to gain access and effect rescue.”

Finally, the crews were successful in extracting the man.

[firefly_embed]

[/firefly_embed]

“After a complex & risky 3 1/2-hour, 50-person effort by Con Fire and East Con Fire — assisted by AMR & Antioch Public Works & PD — a mid-30s man has been rescued uninjured from a 16″ underground pipe where he had been stuck,” Con Fire posted in its final update.

The man was taken to the hospital and is expected to make a full recovery. Hopefully, he’ll avoid such confined spaces in the future.

This article appeared originally on The Western Journal.