Justinian survived a revolt in Constantinople (the Nika riots), which solidified his power but ended with the deaths of a reported 30,000 to 35,000 rioters on his orders.