NBC: Alabama town's first Black mayor, who had been locked out of office, wins election