Task: Question Answering
Input (English): Passage: When their migratory movements ended, there appeared among the Slavs the first rudiments of state organizations, each headed by a prince with a treasury and a defense force. Moreover, it was the beginnings of class differentiation, and nobles pledged allegiance either to the Frankish/ Holy Roman Emperors or the Byzantine Emperors. Question: What appeared among the Slavs when their migratory movements ended?
Output (English): the first rudiments of state organizations