Article L2122-7 of the French General Code of Local Authorities
The mayor is elected by secret ballot and by an absolute majority. If, after two ballots, no candidate has obtained an absolute majority, a third ballot is held and the election takes place by relative majority. In the event of a tie, the oldest candidate is declared elected.