A woman caught a ride-share driver touching himself and filmed it. She wound up in jail.

A Chinese woman who filmed a ride-share driver masturbating as evidence of wrongdoing wound up in police custody for three days for distributing pornographic imagery, reports Mashable.

Occurring on April 23 in Shengzhou, China, the woman, surnamed Wang, hailed a ride via Didi Chuxing, the country's largest ride-sharing company.

However, once she enter into the cab, she noticed that the driver was making "vulgar" movements around his crotch with his free hand during the ride.

Wang decided to film the man so that she could submit the video as evidence of wrongdoing to Didi Chuxing. She also sent the video to friends. And from there, it slowly began to spread after friends began sharing it themselves.

So it's only natural the footage wound up in the hands of the police, who prosecuted the driver... as well as Wang and her friend who made the footage go viral. The driver was detained for eight days while Wang and her friend were detained for three for distributing pornographic imagery.

Users on Chinese website Weibo were outraged that Wang was detained. One user wrote, ""Why the hell would this be considered a pornographic video? It's evidence!"

Didi Chuxing said that it has permanently banned the driver from its platform. It also said it had reached out to Wang after hearing about her experience.

A Playboy model angered a tribe in New Zealand by posing nude on a sacred volcano