In 1078 the Paulician sect attempted to use the chaos of the rebellions of Bryennios and Basilakes and their growing popularity in the Balkans to rise up against Nikephoros; Leca the Paulician agitated against Nikephoros and attempted to convince the Pechenegs, with whom Basilakes had earlier attempted to ally, to invade Byzantine land. At the same time, Dobromir the Paulician stirred up a revolt in Mesembria, in co-operation with Leca, and began to pillage the surrounding areas. Leca and Dobromir soon abandoned their rebellion after they were informed that Nikephoros was quickly assembling an army to defeat them. Knowing their few loyalists would not be able to confront the Byzantine army, they begged Nikephoros for forgiveness, fearing that they would share the same punishment as Bryennios and Basilakes; Nikephoros showed mercy and granted them amnesty, along with both gifts and titles.