New York, NY –  A New York City police officer shown on video pointing his gun at a bystander who was filming a police encounter has been stripped of his gun and badge.

The incident happened Thursday at a public housing complex in Manhattan’s Harlem neighborhood.

A video posted on Facebook shows two officers struggling with a man on the floor when one of them orders bystanders to move back. The video shows the officer then pulling out his gun and shouting, “I’m not playing.”

Police said the man had been resisting arrest after riding an illegal dirt bike and fleeing from police.

Another video shows the same officer later punching another man in the face before arresting him.

A police spokesman says internal affairs investigators are probing the incidents.