Justinian's long reign reshaped the Eastern Roman Empire through reconquest, legal reform, and grand construction like the Hagia Sophia. Along the frontiers he launched an unprecedented fortress-building campaign, replacing earlier earth-and-wood defenses with substantial stone structures as threats multiplied in late antiquity.