I recognized it in the opposite direction, after observing that gangs inevitably end up being quasi-states within their turf. They demonstrate almost everything I associate with statehood except for issuing their own currency. From there, the reverse (that governments are just big gangs) also flows naturally.