Leo III became Byzantine emperor in 717 and faced many challenges during his reign. He organized Constantinople's defenses against Arab attacks and secured important military alliances. Leo also fought to prevent Islamic influence in the Byzantine Empire, forcibly resettling many Eastern Christians. Most significantly, he began the Iconoclastic controversy in 730 by banning religious images and persecuting their worshippers, which divided the Empire and hurt its relations with Rome. Leo reorganized the military and issued new legal codes before passing the empire to his son upon his death in 741 after a long reign of consolidating Byzantine defenses and power.