After the election, authorities imposed a curfew and an internet blackout as people gathered in the streets to contest the exclusion of Hassan’s rivals from the polls. The main opposition party leader, Tundu Lissu, has been in custody since April, charged with treason.