The Asen dynasty became extinct in 1257. Internal conflicts and incessant Byzantine and Hungarian attacks followed, enabling the Mongols to establish suzerainty over the weakened Bulgarian state. In 1277, swineherd Ivaylo led a great peasant revolt that expelled the Mongols from Bulgaria and briefly made him emperor. He was overthrown in 1280 by the feudal landlords, whose factional conflicts caused the Second Bulgarian Empire to disintegrate into small feudal dominions by the 14th century. These fragmented rump states—two tsardoms at Vidin and Tarnovo and the Despotate of Dobrudzha—became easy prey for a new threat arriving from the Southeast: the Ottoman Turks.