Answer
Paulo Souto, the incumbent mayor of Salvador, was defeated by Rui Costa, a law professor and career politician, in the 2014 mayoral election. Costa garnered 53% of the vote compared to Souto's 47%, making Costa the first mayor from the Workers' Party to be elected in the city.