The army was well supplied with siege equipment, including battering rams, siege towers and catapults. In the first fifty years after the reestablishment of the Empire, the Bulgarians, led by skillful commanders such as Peter IV, Ivan Asen I, Kaloyan and Ivan Asen II, achieved massive military successes. After a number of successful battles between 1185 and 1204, the Byzantine Empire was effectively driven from the lands it held in the northern Balkans, and the Imperial crown and cross. The army of the Crusaders, who established the new Latin Empire, were in turn annihilated in the battle of Adrianople (1205), when their Emperor was captured, and again at Rusion in 1206. The Hungarians were defeated after several fights along the valley of the Morava river in 1202. After several setbacks under Boril I (1207–1218), Ivan Asen II decisively defeated the Despotate of Epirus in the battle of Klokotnitsa, in which the much smaller Bulgarian army outmaneuvered its enemy. In 1241, the Tsar defeated a Mongol army, fighting under Batu Khan and Subutai. The country and the army declined after Ivan Asen II's death. His successors could not cope neither with the external nor with the internal problems. Mongol, Byzantine and Hungarian invasions were combined with separatism among the nobility and several civil wars. In 1277, a peasant named Ivailo rebelled against Emperor Constantine Tikh. In the ensuing battle the Emperor was defeated and slain, and Ivailo proclaimed himself Emperor of Bulgaria in Tarnovo. Although he managed to defeat both the Mongols and the Byzantines, a plot among the nobility forced him to seek refuge among the Mongol Golden Horde, where he was killed in 1280. The army now numbered less than 10,000 men — it is recorded that Ivailo defeated two Byzantine armies of 5,000 and 10,000 men, and that his troops were outnumbered in both cases. After the end of the rebellion of Ivailo, the Bulgarians were no match for the Mongols who plundered the country undisturbed for 20 years. With the reign of Theodore Svetoslav (1300–1321), the situation of the army improved — in 1304 he defeated the Byzantines at Skafida. Under his successor the garrison of Plovdiv numbered 2,000 heavily armed footmen and 1,000 horsemen.