SPRINGFIELD, Ill. (AP) — Anyone convicted of using social media to plan or incite a mob attack could face tougher punishment under legislation approved by the Illinois Senate.

Lawmakers said the bill approved 52-0 on Wednesday was in response to recent incidents in Chicago.

READ MORE: Chicago Weather Alert: Lake-Effect Snow On The Way With 6 To 8 Inches Possible In Some Areas; Winter Storm Warning Issued

Groups of young people have descended on Michigan Avenue and other locations to attack or rob victims.

Sen. Kwame Raoul is a Chicago Democrat. He says street gangs also have used social media such as Twitter to organize and publicize attacks in other areas.

READ MORE: View Live Radar

Sen. Kirk Dillard, a Hinsdale Republican, says the incidents could hurt business and that the legislation “sends a message.”

The bill would allow a judge to impose an extended sentence if someone used electronic communication in a mob action.

It now moves to the Illinois House.

MORE NEWS: Two Men Shot Dead In Car In Ravenswood; Car Goes On To Crash And Catch Fire

(TM and © Copyright 2013 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)