Uprising of the Byzantine-Bulgarian wars
The Uprising of Ivaylo () was a rebellion of the Bulgarian peasantry against the incompetent rule of Emperor Constantine Tikh and the Bulgarian nobility. The revolt was fuelled mainly by the failure of the central authorities to confront the Mongol menace in north-eastern Bulgaria. The Mongols had looted and ravaged the Bulgarian population for decades, especially in the region of Dobrudzha. The weakness of the state institutions was due to the accelerating feudalisation of the Second Bulgarian Empire.
The peasants' leader Ivaylo, said to have been a swineherd by the contemporary Byzantine chroniclers, proved to be a successful general and charismatic leader. In the first months of the rebellion, he defeated the Mongols and the emperor's armies, personally slaying Constantine Tikh in battle. Later, he made a triumphant entry in the capital Tarnovo, married Maria Palaiologina Kantakouzene, the emperor's widow, and forced the nobility to recognize him as emperor of Bulgaria.
The Byzantine Emperor Michael VIII Palaiologos tried to exploit this situation and intervened in Bulgaria. He sent Ivan Asen III, son of the former Emperor Mitso Asen, to claim the Bulgarian throne at the head of a large Byzantine army. Simultaneously, Michael VIII incited the Mongols to attack from the north, forcing Ivaylo to fight on two fronts. Ivaylo was defeated by the Mongols and besieged in the important fortress of Drastar. In his absence, the nobility in Tarnovo opened the gates to Ivan Asen III. However, Ivaylo broke the siege and Ivan Asen III fled back to the Byzantine Empire. Michael VIII sent two large armies, but they were both defeated by the Bulgarian rebels in the Balkan mountains.
Meanwhile, the nobility in the capital had proclaimed as emperor one of their own, the magnate George Terter I. Surrounded by enemies and with diminishing support due to the constant warfare, Ivaylo fled to the court of the Mongol warlord Nogai Khan to seek aid, but was eventually murdered. The legacy of the rebellion endured both in Bulgaria and in Byzantium. Years after the demise of the peasant emperor, two "Pseudo-Ivaylos" appeared in the Byzantine Empire and enjoyed wide support by the populace.
Background.
Political situation of Bulgaria.
After the demise of Ivan Asen II (r. 1218–1241), the large Bulgarian Empire began to decline due to a succession of infant emperors and internal struggles among the nobility. To the north the country faced a Mongol invasion in 1242 and constant raiding thereafter. Although Ivan Asen II defeated the Mongols shortly before his death, the regency of Kaliman I Asen (r. 1241–1246) agreed to pay an annual tribute to the Mongols to avoid devastation. The Mongol invasion led to the collapse of the loosely held Cuman confederation in the western part of the Eurasian Steppe and the foundation of the Mongol Golden Horde. This had long–term political and strategic consequences for Bulgaria — the Cumans were Bulgarian allies and often supplied the Bulgarian army with auxiliary cavalry, while the Golden Horde proved to be hostile. To the south, Bulgaria lost large portions of Thrace and Macedonia to the Nicaean Empire, which had escaped the initial Mongol attacks. The lands to the north-west, including Belgrade, Braničevo and Severin Banat, were conquered by the Kingdom of Hungary.
In 1256, Bulgaria descended into a civil war between Mitso Asen (r. 1256–1257), a relative of Ivan Asen II, who established himself in south-eastern Bulgaria, and the bolyar of Skopje Constantine Tikh (r. 1257–1277), who was proclaimed emperor by the nobility in Tarnovo. Simultaneously, the Hungarian noble of Rus' princely origin Rostislav Mikhailovich established himself in Vidin as another claimant of the title Emperor of Bulgaria and was recognized as such by the Kingdom of Hungary. By 1261, Constantine Tikh had emerged as victor, but his 20–year reign did not bring stability to Bulgaria: Vidin remained separated from the central authorities in Tarnovo, and the Mongols regularly campaigned in north-eastern Bulgaria, looting the countryside and paralysing the economy. That same year, Michael VIII Palaiologos (r. 1259–1282) seized Constantinople and restored the Byzantine Empire as a major adversary of Bulgaria to the south. In the 1260s, Constantine Tikh broke his leg in a hunting incident and was paralysed from the waist down. This disability weakened his control over the government and he fell under the influence of his second wife, Irene Doukaina Laskarina, who was constantly involved in intrigues with her relatives in the Byzantine court. Later, he left state affairs to his third wife, Maria Palaiologina Kantakouzene — a scandalous intriguer whose actions to secure the succession of her son alienated the nobility.
Internal situation and rise of Ivaylo.
The internal political development and feudalisation of Bulgaria in the 13th century resulted in a rising number of serfs, as well as an increase in the power of the landed nobility. This led to aspirations for more self-rule among the most influential nobles. Many of them established semi-independent fiefdoms that nominally recognized the emperor in Tarnovo and greatly reduced the capacity of the central authorities to deal with external threats. In the second half of the 13th century, the peasantry was losing personal privileges to the benefit of the secular and religious feudal lords, which in turn reduced the peasants' income and opportunities, worsening their lives. In parallel, the inability of Constantine Tikh to end the constant Mongol incursions in the north-east of the country shattered the pillars of the state institutions in Dobrudzha and contributed to the outbreak of the uprising and its swift success. The Mongol raids were carried out by the semi-independent chief Nogai Khan, who was more powerful than the legitimate ruler of the Golden Horde, Mengu-Timur (r. 1266–1280), and ruled over the steppes of modern Moldova and Ukraine.
Ivaylo, a native of north-eastern Bulgaria, most likely the area near Provadia, began to incite the population to revolt. He was called by the contemporary Byzantine chroniclers by the name "Bardokva" (lettuce) or "Lakhanas" (vegetable) and his real name is known only from a note attached to the Svarlig Gospel. The Byzantine historian George Pachymeres stated that he was a swineherd who took care of pigs for money. However, historian John Fine notes that pigs were a major livestock product at the time and the possessor of a large herd could have been part of the elite of the local community. Ivaylo claimed that he had visions from God to lead the people and that he was in contact with heaven and the saints. In fact, his mysticism was deliberately used to swiftly gain support and followers among the religious villagers. He came to be seen by many Bulgarians as a God-given saviour.
Course of the rebellion.
Initial victories.
 ;templatestyles src="Rquote/styles.css"/ ;{ class="rquote pullquote floatright" role="presentation" style="display:table; border-collapse:collapse; border-style:none; float:right; margin:0.5em 0.75em; width:33%; "
The rebellion broke out in the spring or summer of 1277 in north-eastern Bulgaria where the Mongol devastation was strongest. In the summer of 1277 Ivaylo confronted and defeated a plundering Mongol unit. Another victory followed soon and by autumn all Mongols were driven out of Bulgarian territory. Having achieved what had eluded the Bulgarian arms for decades, his popularity and reputation rose quickly. Among his followers were an increasing number of nobles who were discontent with the intrigues of Empress Maria. Ivaylo was hailed as emperor by the people and many regions came under his control.
In the end of 1277, Constantine Tikh finally took measures to confront the rebels. He gathered a small army and advanced slowly as he had to travel in a chariot because of his injury. Ivaylo attacked and defeated this force, killing many of the emperor's close associates, while the rest of the army joined the rebels. Ivaylo personally slew Constantine Tikh, claiming that the emperor did nothing to keep his honour in the battle. After his triumph, Ivaylo began to seize the country's fortified cities, which surrendered and recognized him as emperor one by one. By the spring of 1278 only the capital Tarnovo remained under the control of Empress Maria.
Byzantine intervention and recognition of Ivaylo.
Meanwhile, the Byzantine Emperor Michael VIII Palaiologos left Constantinople for Adrianople, situated close to the Byzantine–Bulgarian border, in order to monitor the events and to exploit the situation in Bulgaria in his favour. The demise of Constantine Tikh came as a shock to the Byzantines. Initially, Michael VIII considered marrying off his daughter to Ivaylo, but eventually decided it more favourable to install a protégé of his own. His candidate was Ivan Asen III, son of the deposed Mitso Asen, who had sought asylum in Byzantium and possessed estates in Asia Minor. Ivan promptly married Michael VIII's daughter Irene, pledged allegiance to Michael VIII and was proclaimed emperor of Bulgaria. The Byzantines sent gifts to the Bulgarian nobles to incite them to support Ivan Asen III and envoys were dispatched to Tarnovo to arrange for his recognition and the surrender of Empress Maria. Meanwhile, Ivan Asen III marched north at the head of a Byzantine army while Ivaylo was besieging Tarnovo.
Faced with two adversaries, Maria initially tried to negotiate with Michael VIII the succession of her son, Michael Asen II, but the Byzantine emperor insisted on an unconditional surrender. Much to the surprise of the Byzantines, Maria then entered in negotiations with Ivaylo and offered him her hand and the Bulgarian crown on the condition that he would guarantee the rights of Michael Asen as his sole successor. Contemporary chronicler George Pachymeres accuses Maria of "ignoring the moral duty to her late husband" but in fact her decision was driven by her hatred of her uncle Michael VIII, whom she considered a heretic[a], as well as by her desire to retain power. At first, Ivaylo was reluctant to accept the proposal claiming that Maria was offering what he was about to take by force but eventually conceded "because of the peace and to avoid bloodshed in a civil war". However, Ivaylo made it clear that he was the one giving clemency, not the one receiving it.
In the spring of 1278 Ivaylo entered Tarnovo in triumph, married Maria and was proclaimed emperor. However, since he was inexperienced in state affairs, Ivaylo failed to consolidate his authority over the nobility in the capital, who were concerned with their own influence, and often quarrelled with Maria. He still had to deal with overwhelming challenges — the Byzantines dispatched many troops under the command of Michael Glabas in support of Ivan Asen III and incited the Mongols to attack from the north to open war on two fronts. Yet Ivaylo vigorously prepared his forces to counter the adversaries and managed to gain support among many nobles.
Campaigns against Byzantines and Mongols.
Ivaylo left Tarnovo in the summer of 1278, marched north and defeated the Mongols, pushing them across the Danube river. The situation to the south was more dangerous. The Byzantines launched an attack on a wide front along the Balkan Mountains from the Shipka Pass to the Black Sea. They failed to cross the mountains as the defenders held on until the Mongols were defeated and reinforcement could be sent. Despite the huge efforts and numerical superiority, the Byzantines made few gains at very high cost. For instance, the fortress of Ktenia was seized after many assaults, the castles of Kran and Maglizh fell with heavy casualties for the invaders. The Bulgarian commander Stan fell valiantly during the defence of Boruy and many other of Ivaylo's associates distinguished themselves in the war — Momchil, Kuman, Damyan, Kancho. All battles led personally by Ivaylo were successful — he fought at Studena and Pirgitsa — and by the autumn of 1278, the Bulgarians gained the upper hand, forcing the Byzantines to abandon the campaign. Byzantine morale was very low because Ivaylo gave no quarter. George Pachymeres wrote that "to fall in the hands of Lakhanas [Ivaylo] was equivalent to death".
With the situation to the south under control, Ivaylo had to confront a second Mongol attack to the north. This time the Bulgarians faced the elite forces of Nogai Khan. The Mongols prevailed and Ivaylo was besieged in the important city of Drastar on the southern bank of the Danube, where he withstood a three-month siege. While most of the rebel army was engaged in the north, Michael VIII started negotiating with the nobility in Tarnovo and convinced the local dignitaries to recognize the claim of Ivan Asen III. In the beginning of 1279, a Byzantine army under Michael