The municipal court judge may punish for any violation of a Town ordinance or law by fine not exceeding one thousand dollars ($1,000.00) or by imprisonment not to exceed one hundred eighty (180) days.