Demes in the Byzantine Empire
The demes (Ancient Greek: δῆμοι, Latin: factiones) were chariot racing factions in the Roman and later Byzantine Empires, which over time developed into social and political factions. There were four demes; the dominant two were the Blues (Greek: Βένετοι, romanized: Vénetoi) and the Greens (Greek: Πράσινοι, romanized: Prásinoi), which exercised patronage over the Whites (Greek: Λευκοὶ, romanized: Leukoí) and the Reds (Greek: Ῥούσιοι, romanized: Rhoúsioi) respectively.
The demes began in the Principate era as chariot racing factions. With the decline of urban self-governance, they took on broader responsibilities such as organizing the spectacles. The colour divisions gradually covered other aspects of daily life such as theatre, so that by the fifth century they had become more akin to political parties.
Between the 5th and 8th centuries, the demes grew so powerful that they participated in the political and religious conflicts of the time, terrorised the major Byzantine cities with their frequent riots (most notably the Nika riots in 532), had official militias, made and unmade emperors, and were sometimes called on by the emperors for tasks like repelling invasions and repairing the city walls. Entire neighbourhoods and guilds were described as pro-Blue or pro-Green. Theodore Balsamon, in his commentary on the Council in Trullo, noted that even the emperor had no authority over the demes. However, beginning in the 7th century, the demes gradually weakened and became integrated into the imperial government.
Despite no longer being a significant social force, they retained ceremonial functions for several centuries afterwards. The 10th-century treatise De Ceremoniis describes various ceremonial processions and festive events in which the factions participated, most importantly the imperial coronations, starting with that of Justin I in 518.
There is scholarly debate over the extent to which the demes remained mere sporting factions, and the extent to which they morphed into political parties and wielded political power. Alfred Rambaud and Alan Cameron are representative of historians who minimize the political participation and influence of the demes, while Fyodor Uspensky, Alexander Dyakonov, and Gavro Manojlović are representative of historians who maximize it.