 In 623, the Slavic tribes revolted against the oppression of the Avars.During this time, the Frankish merchant Samo allegedly came to the Czech lands with his entourage and joined with the Slavs to defeat the Avars.Thus the Slavs adopted Samo as their ruler.