A Good Samaritan put a man in a headlock and held him for Port Orange police after the man attacked a woman with a knife, according to officials.

Albert Edwards was arrested early Sunday on charges of robbery with a deadly weapon.

According to Port Orange police, Edwards robbed a woman who was walking home from a convenience store near Tropic Drive and Spruce Creek Road.

A neighbor saw the incident and knocked Edwards off his bike as he tried to get away, police said.

When officers arrived, the neighbor had Edwards in a choke hold, police said.

Edwards was arrested and taken to the Volusia County Jail.