An elderly Los Angeles newspaper vendor was freed from his Harvard Heights stand by police on Monday after accidentally locking himself inside for four days.

The unidentified 84-year-old vendor had also been living in the wooden stand, a Los Angeles Police Department spokesperson told KTLA.

A passerby heard moaning coming from inside the stand Monday afternoon and called authorities, police said. Responding officers cut the stand’s lock and freed the man.

The vendor was malnourished and dehydrated, police said.

He remained hospitalized as of Tuesday.