Serbia was one of the earliest Slavic political formations in the Early Middle Ages .
The first attested Slavic polities was Great Moravia , which emerged under the aegis of the Frankish Empire in the early 9th century .
Early Middle Ages