Аварский каганат
The territory of the Székely Land was part of the Avar Khaganate. During this period, Avar and Slavic groups migrated into Transylvania. From around 900 to 1526 the area was under the direct control of the Hungarian state. The Székelys presumably settled in Transylvania in the 12th century from present day Bihar and Bihor counties.