A peasant rebellion, one of several few successful this sort of in background, established the swineherd Ivaylo as being a Tsar. His brief reign was essential in recovering—not less than partially—the integrity from the Bulgarian state. A relatively thriving period followed just after 1300, but ended in 1371, when factional divisions triggered