In the spring of 367, Valens crossed the Danube and attacked the Visigoths under Athanaric. The Goths fled into the Carpathian Mountains, and the campaign ended with no decisive conclusion. The following spring, a Danube flood prevented Valens from crossing; instead he had his troops construct fortifications. In 369, Valens crossed again, from Noviodunum, and by devastating the country forced Athanaric to attack him. Valens was victorious, and Athanaric received Ermanaric's permission to conclude a truce. Athanaric pleaded for treaty terms and Valens gladly obliged. The treaty seems to have largely cut off relations between Goths and Romans, confining trade and the exchange of troops for tribute.