Shocking video captured the moment a pit bull latched on to a woman's shoe for several minutes and refused to let go while on one of New York City's trains.

In the video, the dog is seen pulling on the woman's shoe as its owner tries to pull the dog off of her.

Another woman is seen holding the victim's leg as she yells: 'Get the dog off of her!'

'Call the police!' another man is heard saying.

Shocking video captured the moment a pit bull latched onto a woman's shoe for several minutes and refused to let go while on one of New York City's trains

In the video, the dog is seen pulling on the woman's shoe as its owner tries to pull the dog off of her. Another woman is seen holding the victim's leg as she yells: 'Get the dog off of her!'

Finally, the dog's owner tells the woman to take her shoe off. Once the woman's shoe was removed, the dog let go of the shoe.

Its owner then threw the shoe at the commuters who witnessed the incident, striking one man in the leg.

Passengers kept yelling at the man, saying he was going to go to jail for the dog attack.

'You're going to jail now and he's [the dog] is going to get euthanized,' one man yells at the dog's handler as he records the incident.

But according to the person recording the video, the woman attacked the man on the train, prompting the dog to then attack her.

'The dog is not vicious. She did attack him,' the man is heard saying. The incident happened on a 4 train.

According to the MTA, non-service animals are supposed to be kept inside carriers to ride the trains so that they aren't bothering other passengers.

It wasn't clear if the dog's owner had it in a carrier on the train before the fight broke out between the man and the woman.

Finally, the dog's owner tells the woman to take her shoe off. Once the woman's shoe was removed, the dog let go of the shoe. Its owner then threw the shoe at the commuters who witnessed the incident, striking one man in the leg