According to the legend, Ljubljana was founded by the Argonauts: fleeing with the mythical Golden Fleece, Jason took the wrong direction at the exit of the Black Sea, entering the Danube Delta and navigating along the river Ljubljanica up to land at the point where future Ljubljana would arise. The Slovenian capital was called Emona at the time of the Roman domination (I-VI centuries AD). The city prospered until 452, when it was devastated by the Huns led by Attila. In the era of the migrations, the city experienced decades of total decay and neglect. The Slavic ancestors arrived here in the late sixth century and began to lay the foundations for a new settlement in the shelter of the castle. Ljubljana was first mentioned in written sources as „Laibach” in 1144 and under the Slovenian name of Luwigana two years later, in 1146. Subsequently, the valley of Ljubljana passed into the hands of the Carniolan dukes of the Spanheim family, becoming the capital of the Province of Carniola. In 1335, it passed under the control of Augsburg. The city was conferred a total of 39 commercial privileges, enabling it to attract traders and artisans from all over Europe. In the sixteenth century, Ljubljana became the Slovenian center of Protestantism, as well as that of culture. In 1550, Primož Trubar published the first two Slovenian books, the Catechism and a spelling book, while Yuri Dalmatin translated the Bible.