In 505 Anastasius ordered the building of a great fortified city at Dara. The dilapidated fortifications were also upgraded at Edessa, Batnac and Amida. Although no further large-scale conflict took place during Anastasius' reign, tensions continued, especially while work continued at Dara. This construction project was to become a key component of the Roman defenses, and also a lasting source of controversy with the Persians, who complained that it violated the treaty of 422, by which both empires had agreed not to establish new fortifications in the frontier zone. Anastasius, however, pursued the project, and the walls were completed by 507/508.