Be it further enacted, That theMayor andMayor Pro Tem. shall be to all intents and purposes ex officio justice of the peace, so far as to enable them to issue warrants for offenses committed within the Corporate Limits of said City, which warrants shall be issued as warrants issued by State officers, and may be served by an arresting officer of said City. Said Mayor, or Mayor Pro Tem., may commit to the jail of Irwin County, or admit to bail, offenders for their appearance at the next term of the Court sitting in Irwin County that has jurisdiction of such offense, and it shall be the duty of the jailor of said County to receive all such persons so committed, and safely keep them until discharged by due process of law; either of said officers may issue warrants for parties violating any ordinance of said City.