Theodosius II became the eastern emperor in 402. Although personally weak, his mother passed the Theodosian Codes, a collection of Roman laws that had existed since the time of Constantine. Plus, the walls of Constantinople were rebuilt in 413 and defended it successfully for 1,040 years (in 1453 the Turks destroyed the empire and took the city). Christian orthodoxy was enforced, though for around a hundred years weak emperors ruled.