It is said of a mayor when he is removed from office. See ex- ( prefix "outside") .
It means official that in a past time he served as mayor, who is no longer mayor. Mayor a long time ago, from a previous period.
EXALCALDE ex-prefix which means that it was already, that it was ( in the past) and of the noun ALCALDE , edil .