The Nika riots, Nika revolt or Nika sedition took place against Emperor Justinian I in Constantinople over the course of a week in 532 CE. They were the most violent riots in the city's history, with nearly half of Constantinople being burned or destroyed and tens of thousands of people killed.

On January 13, 532, a tense and angry populace arrived at the Hippodrome for the races. The Hippodrome was next to the palace complex, and thus Justinian could watch from the safety of his box in the palace and preside over the races. From the start, the crowd had been hurling insults at Justinian. By the end of the day, at race 22, the partisan chants had changed from "Blue" or "Green" to a unified Nίκα ("Nika", meaning "Win!" "Victory!" or "Conquer!"), and the crowds broke out and began to assault the palace. For the next five days, the palace was under siege. The fires that started during the tumult resulted in the destruction of much of the city, including the city's foremost church, the Hagia Sophia (which Justinian would later rebuild).

More Info: en.wikipedia.org