BEIJING — With the din they make, they are often mocked and berated and worse. Hounds have been loosed on them. Rocks flung, water sprayed. They have been pelted with excrement, more than once. And yet they shimmy on.

China's "dancing grannies" are a tough bunch.

They are the middle-aged and elderly outdoor dance enthusiasts who crowd sidewalks, parks and squares. They include quite a few men, despite their popular name, and have become a colorful fixture in towns and cities, swirling, skipping and swaying in happy rows, during the mornings and often late into the night.

Too much of a fixture for some neighbors who can grow tired of hours of throbbing disco music, electro-folk tunes and Bollywood-influenced dance numbers blasted over tinny loudspeakers.

In the southern region of Guangxi, friction between amateur dance crews and residents grew serious this month, when a man took out a small air rifle and shot a woman, wounding her in the leg, according to news reports Friday.

The man "said he was upset by the noisy group of women dancing near his house, who mocked him when they turned down his request to quiet down," Xinhua, the state news agency, reported. The reports gave only his surname, Mo.

Bloodshed was unintended, Mo told the police in Yangshuo, the scenic town where the fracas broke out on March 3.

"He was aiming at the stereo speaker, but accidentally shot a woman who was operating the machine in the leg," said Xinhua, describing what he told the police.

A report from a news website in Guangxi said that Mo was also angry because the group refused to help lift his car when it became stuck near the square where they danced.

Mo fled to neighboring Guangdong province, but the police caught him Wednesday, breaking China's latest case of serious violence involving dancing retirees.

But after years of confrontations with the amateur outdoor troupes, the file of incidents is growing thick.

In 2013, a man in Beijing tried to disperse dancers near his home by firing a shotgun into the air and unleashing three Tibetan mastiffs. In the city of Wuhan, in central China, neighbors dumped excrement from a building onto a gathering of dancing ladies.

Mo has been detained "for endangering public safety," Xinhua reported, and it seems likely that he will spend time in the relative quiet of a prison.