The judge of the city court shall be appointed on the nomination of the mayor and concurred in by the city council or other legislative body, but the appointed judge shall serve only until the next general election, at which time a judge or judges will be elected.