(a) There is hereby established a court to be known as the mayor’s court of the city which shall have jurisdiction and authority to try offenses against the laws and ordinances of the city and to punish for a violation of the same. (b) Said mayor and council shall have authority to elect a marshal for said city and fix his salary and to require the marshal to make bond to the mayor and council in such sum as deemed proper for the faithful performance of his duty. Such marshal shall be elected annually for one year and shall arrest all persons violating the laws of the city, with or without warrant or summons, and carry them before the mayor for trial. The marshal shall be the ministerial officer of the mayor’s court and shall enforce its sentences or collect its fines. For all such services the marshal shall receive such fees as the constable would receive for similar services in the magistrate court, to be taxed in the cost bill. The marshal shall enforce all the laws of said city and orders of the mayor and council.