The first historical mention of the city is in 52BC, as "Melodunum". The modern name of the city comes from the name it had in the 6th century, "Meluneum". Clovis I makes a duchy out of the city. He also has fortifications built. The city gains new importance. The city is also prone to raids of the vikings, most notably those in 852 and 866.