The St. Louis directory and register :

persons have an equal number of votes, and a higher number than
any other person, the circuit courts of the counties respectively shall
give the casting vote; and all contested elections for the said offices
shall be decided by the circuit courts respectively, in such manner as
the general assembly may by law prescribe.