When they approached David on the building’s sixth floor, he fled out a window and down a fire escape.
But to get away, he had to re-enter the building’s first floor lobby — where the two officers were waiting for him.
David fought the officers for five minutes, and some of the fight was caught on video, cops said.
During the struggle, David — who police sources said had a record of arrests for violent offenses — grabbed one of the detectives’ radios, and used it to strike both officers in the head.
David hit the officers so hard, the radio broke, cops said.