A mechanic was killed and another injured Thursday after a Bronx apartment building’s elevator fell on top of them as they performed work in the shaft, officials said.

The name of the 25-year-old man who died was not immediately released by police.

Around 9:35 a.m. the mechanics were working inside the six-story apartment building at 133 East Clarke Place in Mount Eden doing modernization work on the elevator, according to NYPD and the city Department of Buildings.

The elevator, which was out of service at the time, fell on one mechanic and injured a second mechanic, the DOB said. It was not clear how far the elevator fell or what floor the mechanics were on.

The 25-year-old mechanic was taken to BronxCare Health System Hospital where he was pronounced dead.

The mechanics worked for Champion Elevator Corp., who had a permit issued by the DOB in November 2020 for the modernization work. Champion Elevator Corp. executive vice president Joseph Corrado told the Associated Press that the company will cooperate with the investigation.

The DOB was investigating the scene, and the medical examiner's office will determine the cause of death, police said.

Since 2017, residents have complained about the building's elevator, according to the DOB's website; one from January 2020 says, "THE ELEVATOR HAS NOT BEEN WORKING FOR THREE WEEKS. IT WILL TURN ON FOR A DAY AND THEN BE BROKEN AGAIN. THERE ARE SIX FLOORS AND RESIDENTS THAT HAVE MULTIPLE HEALTH RELATED ISSUES."

A spokesperson for the federal Occupational Safety and Health Administration said the agency has opened an investigation as well.