This is the shocking moment a transgender woman was pinned down and viciously flogged by a gang of men in Pakistan as 'punishment for her bad habits'.

Footage shows the victim being held face down on a bed and a man lashing her body with a leather belt after the attackers had stormed into a home in the eastern city of Sialkot.

At one point, while another man continues the flogging, the leader places his foot on the victim's neck and twists her arms as she cries out in pain.

Shocking video has emerged of the moment a transgender woman being pinned down and viciously flogged by a gang of men in Pakistan as 'punishment for her bad habits'

Footage shows the victim being held face down on a bed and a man lashing her body with a leather belt after the attackers had stormed into a home in the eastern city of Sialkot

In another brutal act, the victim's clothing is pulled down from her waist before the whipping continues. One of the men then rants at the camera.

Others appear to try to intervene to stop the beating, but the onslaught carries on throughout the nearly 2-minute clip.

Pakistani police have since arrested ten alleged members of a criminal gang accusing them of carrying out the attack and then uploading it on to social media where it was shared thousands of times.

Police chief Abid Khan said five of those arrested have been charged with torture and extortion, while the other five are under investigation.

The alleged gang leader, who identified himself as Jajja, told Dunya News that he was friends with the victim.

Pakistani police have arrested ten members of an alleged gang over the attack. Some of the people allegedly involved arrive at a court in Sialkot, Pakistan yesterday

Police chief Abid Khan said five of those arrested have been charged with torture and extortion, while the other five are under investigation

'I was punishing him because he didn't refrain from his bad habits, which I pointed out to him several times,' he said in an interview conducted while he was in police custody.

Transgender people in Pakistan are social outcasts who are often forced into begging, dancing and prostitution to earn money. Fearing attacks, most either change their names or use only one name.

TransAction, a local transgender rights group, posted a video interview with another transgender woman who identified herself as Jolie and said she was present when the attack took place.

She said the gang members barged into a house where several transgender women were living, beating and torturing one of them for several hours and shaving the heads of others.