Maximian staged a failed coup against Constantine and committed suicide in 310. A year later, Galerius and the retired Diocletian died, leaving Constantine, Licinius, Maxentius and Maximinus on the scene. Constantine and Licinius quickly reached an agreement recognizing each other as lawful rulers because their territories were separated by Maxentius' realm. Constantine invaded Italy and defeated Maxentius at the Milvian Bridge near the city of Rome in 312. Maxentius drowned in the Tiber and Constantine seized Italy and Africa. He reinforced his alliance with Licinius at a meeting in Milan in February 313. They restored religious freedom, abolishing all laws limiting the Christians' civil rights. Although their agreement was not formally enacted, it is now known inaccuratelly as the Edict of Milan. After returning to the east, Licinius inflicted a decisive defeat on Maximinus in Thrace in April 313. After their triumph, relationship between Constantine and Licinius became strained. In 317, Licinius had to surrender Illyricum to Constantine. Seven years later, Constantine routed Licinius at Chrysopolis and enforced his abdication.