The law was an attempt to discourage gang activity by not only making it illegal to be part of a street gang, which is broadly defined under the law, but also by enhancing prison sentences for any regular crimes that law enforcement felt had gang connections.