# Uprising of Ivaylo

The Uprising of Ivaylo (Bulgarian: Въстанието на Ивайло) 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

   Lakhanas engaged a Mongol falanga, attacked it with the men he led, crushed them thoroughly and again attacked another unit. Thus, in a few days he covered with glory.
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, 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 Glabas disembarked near Varna and set off to the capital, supported by a Mongol unit commanded by Kasim beg. The elite of Tarnovo spread rumours that Ivaylo had perished fighting the Mongols and opened the gates to the Byzantines and their protégé. Ivan Asen III was proclaimed emperor and Maria, who at the time bore Ivaylo's child, was exiled to Constantinople. To consolidate the support of the nobility, the new monarch married his sister Kira Maria to George Terter, one of Bulgaria's most powerful and influential feudal lords, whose estates were centred at Cherven. Kasim beg, who had been awarded the high court title protostrator, felt that the rise of George Terter was at his expense, deserted Ivan Asen III and joined the cause of Ivaylo.
Meanwhile, fighting between the rebels and the Byzantines continued. Although the Bulgarian forces were cut in two after the Byzantine landing at Varna, heavy clashes erupted in the eastern Balkan Mountains with new vigour, especially around the Kotel Pass and the Varbitsa Pass. The Bulgarian positions there were surrounded both from the north and the south. The Byzantines had to besiege and take the fortresses one by one which cost time and casualties. Many strongholds remained unconquered and permanently engaged large Byzantine forces.
In spring 1279, Ivaylo managed to break through the Mongol blockade at Drastar and besieged Tarnovo. This advance took Ivan Asen III and his supporters by surprise. Michael VIII took measures to protect his protégé and in the summer of 1279 sent a 10,000-strong army under the command of the protovestiarios Murin. Ivaylo did not linger in Tarnovo and engaged the invading host on 17 June 1279 in the Kotel Pass. Despite being outnumbered, in the ensuing battle near the fortress of Devina the Bulgarians achieved a complete victory. Part of the Byzantines perished in the battle along with their commander, the rest were captured and killed by orders of Ivaylo. A month later, the Byzantines sent another army of 5,000 troops led by the protovestiarios Aprin. Ivaylo engaged them in the eastern Balkan Mountains on 15 August 1279 and after a long combat defeated the Byzantines, personally killing Aprin in the process. Ivaylo was said to had "fought with fury, achieving many feats" in both battles.

### End of the rebellion and demise of Ivaylo

With the Byzantines defeated, the authority of Ivan Asen III was shaken. He and Irene secretly fled Tarnovo, taking the Byzantine imperial insignia, which were kept in the treasury since the Bulgarian victory in the battle of Tryavna in 1190. Michael VIII was infuriated with the couple's cowardliness and refused to grant them an audience for days. In Tarnovo, the nobility refused to open the gates to Ivaylo and instead elected George Terter emperor, which had a devastating effect on the rebels. Despite the military successes, neither was the Mongol threat dealt with, nor was Ivaylo able to secure the support of the Bulgarian nobility and unify the country against the overwhelming forces of the Mongols and the Byzantines. As a result, Ivaylo's followers, disillusioned with the endless wars without prospects for peace, began to abandon his cause. With diminished support, in 1280 Ivaylo crossed the Danube with a few loyal associates, including Kasim beg, to seek aid from Nogai Khan.
It is important to mention that Ivaylo was not decisively defeated neither by the new tsar George Terter nor Nogai khan, as Ivaylo maintained the conquered territories and fortresses. The visit of Ivaylo at Nogai court was not an attempt of escape nor an attempt of seeking refuge, but a diplomatical action.
Initially, Ivaylo was received well by Nogai Khan. When news of his whereabouts reached Constantinople, Michael VIII sent Ivan Asen III with rich gifts to the Mongol court to ask assistance. Nogai Khan expressed interest in the issue and for several months kept promising help to both pretenders. Eventually the Byzantine influence prevailed because the Mongol leader was married to the illegitimate daughter of Michael VIII, Euphrosyne Palaiologina. During a feast, in which Ivaylo and Ivan Asen III seated on both sides of Nogai Khan, he pointed at Ivaylo with the words "He is an enemy of my father, the Emperor [Michael VIII], and does not deserve to live" and ordered his execution. Ivaylo, along with Kasim beg, were duly murdered on the spot. Ivan Asen III was fortunate to avoid that fate due to the advocacy of Euphrosyne and eventually returned to his estates in Asia Minor, where he died in 1303.

## Aftermath

   ...the peasants left their lands and agrarian labour and under their own will became soldiers [...], determined to line up under the banner of Lakhanas, confident that they will win with him.
Ivaylo's legacy enjoyed huge popularity beyond the borders of Bulgaria years after his death. At least two "Pseudo-Ivaylos" appeared in the Byzantine Empire. In 1284 a Bulgarian who claimed to had been Ivaylo, arrived in Constantinople and offered his services to Emperor Andronikos II Palaiologos to fight against the Turks. Andronikos II asked the ex-empress Maria to verify if the man was her husband and she exposed him as an imposter. Pseudo-Ivaylo was detained but the populace demanded his release since the Turks "feared the barbarian [Ivaylo]". The Byzantine emperor calculated that there was nothing to lose and allowed him to march against the Turks. "Ivaylo" gathered a huge army of peasants, much to the concern of the Byzantine nobility who feared a revolt or coup. The emperor then summoned Pseudo-Ivaylo under some pretext and had him imprisoned. A few years later, another Bulgarian (whose real name was Ivan) appeared in the Byzantine Empire claiming he was Ivaylo. He was given an army to combat the Turks but after a few victories he was captured and killed.
In Bulgaria, the two decades after the end of the rebellion were the lowest point of the Second Empire. The reigns of George Terter I (r. 1280–1292) and his successor Smilets (r. 1292–1298) were characterised by constant Mongol interference in the state's domestic affairs and progressive disintegration of Imperial authority in favour of the feudal magnates. Bulgaria had lost almost all lands to the south of the Balkan mountains to the Byzantines and was in no position to regain these regions. The fortunes of the country changed for the better under George Terter I's son, Theordore Svetoslav (r. 1300–1321), when Bulgaria acquired Bessarabia from the Mongols and reconquered Northern Thrace from the Byzantines, bringing stability and prosperity.

## Legacy

The rebellion failed because the rebels had to fight against overwhelming odds — not only the Byzantines and the Mongols, but also much of the Bulgarian nobility. Although ultimately unsuccessful, the uprising of Ivaylo had achieved a recognition of its leader as emperor, an aim in which all other popular revolts in medieval Europe failed. In Socialist Bulgaria, the rebellion was portrayed as a social movement against the iniquity of the feudal system and the foreign invaders. In modern Bulgaria, Ivaylo is still revered as a fighter for freedom and social justice. However, there is no evidence that Ivaylo and his followers ever intended to conduct social reforms. The fact that the rebellion was supported by some nobles and that Ivaylo married the hated Empress Maria also indicates that the main factor was the incompetent rule of Emperor Constantine Tikh. Bulgarian historians praise the heroism of the rebels and evaluate the uprising as a bright patriotic achievement of the Bulgarian people because Ivaylo was able to gather wide support from all social classes of Bulgaria to defend the then-troubled country against the external enemies. Ivaylo is remembered as a heroic ruler and a tragic figure who represented the ideal of the "Good Tsar".
The rebellion of Ivaylo is among the most popular and recognizable Bulgarian historical events with numerous pieces of art dedicated to it. The 1959 opera "Ivaylo" by the composer Marin Goleminov, based on the overture of the same name by Dobri Hristov, was inspired by the "revolutionary pathos and tragedy of the epoch". Dedicated to the uprising are also the 1964 colour feature film "Ivaylo" by the director Nikola Valchev, based on the novel "The Smouldering Ember" by Evgeni Konstantinov, and the 1921 drama "The Throne" by prominent Bulgarian poet and writer Ivan Vazov. The town of Ivaylovgrad in modern southern Bulgaria and the village of Ivaylo near the city of Pazardzhik are named after the rebel leader. There are statues in several cities dedicated to him, as well as a monument commemorating the victory over the Byzantines in the battle of Devina, situated at 5 km to the south-east of the town of Kotel. That memorial, named "The Stone Guard", was listed in the top ten emblematic monuments in the history of Bulgaria.

## Timeline

* summer of 1277 — The Mongols are defeated
* autumn of 1277 — The Mongols are driven out of Bulgaria
* end of 1277 — The army of Constantine Tikh is defeated; the emperor is killed by Ivaylo
* spring of 1278 — Ivaylo enters the capital Tarnovo; marries Constantine Tikh's wife Maria; crowned Emperor of Bulgaria
* summer and autumn of 1278 — Warfare against Byzantines and Mongols; victory over the Byzantines; defeat against the Mongols; Ivaylo is besieged in Drastar
* beginning of 1279 — The nobility in Tarnovo opens the gates to the Byzantine-supported pretender Ivan Asen III
* spring of 1279 — Ivaylo breaks the Mongol blockade at Drastar; besieges Tarnovo; Ivan Asen III flees to Constantinople
* 17 June 1279 — A 10,000-strong Byzantine army is defeated in the battle of Devina
* 15 August 1279 — A 5,000-strong Byzantine army is defeated in the eastern Balkan Mountains
* beginning of 1280 — George Terter I is elected emperor by the nobility
* 1280 — Ivaylo flees to Nogai Khan and is eventually murdered