Question: Noble Slavs pledged allegiance to whom?

Is "Moreover, it was the beginnings of class differentiation, and nobles pledged allegiance either to the Frankish/ Holy Roman Emperors or the Byzantine Emperors." the correct answer?
Options are:
(a). yes.
(b). no.
(a).