Čakovec was originally called Aquama ("the wet city"), because the area was marshland. During the Migration Period, many different tribes, such as Huns, Visigoths, and Ostrogoths, passed through the region. The region was part of the Kingdom of the Ostrogoths, the state of the Lombards, the Avar Khaganate, and the Frankish Kingdom. The Slavs, which settled this region in the 6th century, gained independence after destruction of the Avar Khaganate. In the 9th century, it was included in the Slavic state of Lower Pannonia. According to some sources, the area was also part of the Great Moravia.