Where Did Gangs Originate?

Gangs are something that has been around for quite some time. Gangs as in the current street gangs that dominate the news originate from poverty.