In ancient times, Romans exploited the gold mines in what is now Transylvania extensively, building access roads and forts to protect them, like Abrud.
Sarmatians and Burs were allowed to settle inside Dacia Trajana after repeated clashes with the Roman administration.
During the 3rd century increasing pressure from the free Dacians (Carpians) and Visigoths forced the Romans to abandon exposed Dacia Trajana.
The Transylvanian Avars were, subjugated by the Bulgars under Khan Krum at the beginning of the 9th century and Transylvania, along with eastern Pannonia, was incorporated into the First Bulgarian Empire.
After a devastating Bulgar and Pecheneg attack the Magyar tribes crossed the Carpathians and occupied the entire basin without significant resistance.
According to the prime Gesta Ungarorum from the 11th century they entered Transylvania first, where Prince Almos was killed: "Almus in patria Erdelw occisus est, non enim potuit in Pannoniam introire".
According to some archeological findings near Turda (Golds of Prince Berthold of Bavaria) Transylvanian Magyars also participated in several raids against the West, Italy, or the Balkans.
The history of Transylvania during the early Middle Ages is difficult to ascertain due to the scarcity of reliable written or archeological evidence.