In prosecutions for petty misdemeanors, if the party injured appear before the court where the same shall be pending and acknowledge to have received satisfaction, on motion of the prosecuting attorney the court, if it shall adjudge that the ends of justice will be conserved thereby, may discharge the defendant and dismiss the proceedings and may require the payment of court costs.
Miss. Code § 99-15-51