The magistrate court of the county shall have jurisdiction to try the offense described in section 24-1.