NEW YORK (CBSNewYork) — A Brooklyn man was seriously injured Monday, after trying to escape an elevator that became stuck and falling down the shaft.

Investigators from the Department of Buildings checked out the elevator at 1 St. Paul’s Ct. in Prospect Park South, Brooklyn.

READ MORE: Montville, N.J. Police Asking For Public's Help Finding Missing Mother Cheng Hsiao And 2 Young Children

Paul Masdeu was inside the elevator Monday morning when it became stuck near the third floor. He called for help, but decided to pry open the doors and try to climb out before firefighters arrived.

At that point, Masdeu fell.

Those who live in the building said the accident could have been prevented.

READ MORE: Rookie NYPD Officer Sumit Sulan Hailed A Hero For Quick Actions In Deadly Harlem Shooting

“That elevator should have been fixed years ago,” said Bobby Davis. “Now look what happened. We have a young man in the hospital.”

“There have been situations when you go to get in the elevator and it’s actually like a foot below the landing,” said Garrett Kafchinski.

The Department of Buildings said the elevator was checked this past summer and it was in working condition. Building management company Shamco said it cannot comment on the investigation.

MORE NEWS: Connecticut Resident James Iannazzo Arrested After Tirade Caught On Video At Smoothie Shop

Masdeu was being treated for facial injuries late Monday.