When did the charriot-racing teams in the byzantine empire become so powerful?

by armzngunz

How, and more importantly, during what period did the Blues and the Greens become so powerful, when did the first riots start over these chariot races in the Byzantine Empire? Asking because I'm wondering about the lead up to the Nika Riots ( https://en.wikipedia.org/wiki/Nika_riots )
Were there any riots because of these teams before the empire split? If so, how significant were they?

armzngunz

Another question, how often were the charriot races held in Constantinople? Would there be similar riots in other major cities?