Criminal groups govern millions worldwide. Even in strong states, gangs resolve disputes and provide security. Why do these duopolies of coercion emerge? Often, gangs fill vacuums of official power, suggesting that increasing state presence should crowd out criminal governance. We show, however, that state and gang rule are sometimes complements. In particular, gangs could minimize seizures and arrests by keeping neighborhoods orderly and loyal.