The history of the tribal union after Samo's death in 658 or 659 is largely unclear, though it is generally assumed that it ended. Archaeological findings show that the Avars returned to their previous territories (at least to southernmost modern Slovakia) and entered into a symbiosis with the Slavs, whereas territories to the north of the Avar Khaganate were purely Slav territories. The first specific thing that is known about the fate of these Slavs and Avars is the existence of Moravian and Nitravian principalities in the late 8th century, which attacked the Avars, and the defeat of the Avars by the Franks under Charlemagne in 799 or 802–03, after which the Avars soon ceased to exist.
