DENVER - A man spent more than two hours stuck in a downtown Denver chimney Thursday afternoon, and now police are investigating why he was up there in the first place.

Officers and firefighters say the man fell more than 30 feet into the chimney on top of an apartment building near 18th and Champa.

Police shut down the intersection while more than two dozen firefighters worked from the roof and the ground to get the man out.

Police are investigating how a man got stuck in a downtown Denver chimney on Thursday afternoon.    

The fire department called in a confined space rescue team to cut a hole in a vacant apartment and gain access to the man.

Eventually, they pulled him out through the top of the chimney, then an ambulance took him to a hospital.

Police did not say what the man was doing on the roof, but they took three other people into custody who had been with him.

It's not clear if they or the man who was rescued will face any charges.