When was Serbia established?

Serbia was formed as a medieval duchy of the Byzantine Empire in early 700s by the descendants of the Unknown Archont, who led the Serbs to the Balkans from East Central Europe several decades before. The first established dynasty of the early Serbian principality was the Viseslavic dynasty (9th-10th centuries) which claimed descent from the early leaders of the Serbs.