On the role of gangs in urban social history of the 19-century Ottoman empire; with a decline in government control, gangs ran protection rackets and acted as a parallel government, making alliances and becoming popular leaders against an alien threat.