RIO DE JANEIRO — Batman is running for office in the Brazilian city of Uberlândia. Not one but two James Bonds are seeking city council seats, in Ponta Grossa and Birigui. Elsewhere in Brazil, voters are being urged to cast ballots for candidates with names like Daniel the Cuckold and Elvis Didn’t Die.

Brazil has nurtured one of the world’s most vibrant democracies since its military dictatorship ended in 1985. As campaigning for municipal elections in October intensifies, this vitality is evident on the ballots, which reflect Brazil’s remarkably loose restrictions on what candidates can call themselves.

Ballots are filled with superhero names (five Batmans are running this year), mangled versions of American television characters (like the Macgaiver running in Espírito Santo State, inspired by the “MacGyver“ secret-agent series), and an array of raunchy nicknames.

“It’s a marketing strategy, a political program, because if I said Geraldo Custódio, no one was going to recognize me,” said Geraldo Custódio, 38, a teacher of driver’s education who is running for city council with the name Geraldo Wolverine in Piracicaba, an industrial city in São Paulo State.