Its condition of port city made Maceio to be the state capital in 1839, which was earlier on Santa Maria Madalena da Alagoa do Sul (Saint Mary Magdalene of the Southern Lake) or simply Alagoa do Sul (nowadays the historic city of Marechal Deodoro).
