During the 5th and 6th centuries the Merovingian kings conquered the Thuringii (531 to 532), the Kingdom of the Burgundians and the principality of Metz and defeated the Danes, the Saxons and the Visigoths. King Chlothar I (558 to 561) ruled the greater part of what is now Germany and undertook military expeditions into Saxony, while the South-east of what is modern Germany remained under the influence of the Ostrogoths. Saxons controlled the area from the northern sea board to the Harz Mountains and the Eichsfeld in the south.