BEDFORD-STUYVESANT, Brooklyn — A man was crushed to death in the garbage compactor of a Bedford-Stuyvesant apartment building early Friday, according to authorities.

The man somehow ended up in the garbage chute of the building on Gates Avenue near Marcus Garvey Boulevard around 4:05 a.m., officials said. He then entered the compactor, where he was crushed, police said.

Someone called 911 after hearing the victim, authorities said, but by the time first responders arrived, it was too late. The man was pronounced dead at the scene.

Police had not determined the man’s identity or whether he lived in the building as of Friday morning, but he was believed to have been in his 50s. It also remained unclear why the man entered the garbage chute, but authorities said that criminality did not appear to be involved.