286. Every person entitled to vote at the election of a member of the council of a municipality may contest the election on the grounds that the person declared elected was ineligible, that he did not obtain the greatest number of the valid votes, that a corrupt electoral practice was used which caused the election to be null, or that the proper formalities were not observed.
Every candidate defeated by the person declared elected may also avail himself of the first paragraph.