In 1040, Peter Delyan revolted against the Byzantine rule in the Theme of Bulgaria. The Uprising first broke out in Belgrade where Delyan was proclaimed Emperor. He went south, going through Rascia and Dendra, then taking the Byzantine fortresses of Naissus and Skopie.