In a misdemeanor case prosecuted in a city's municipal court facility, at the initial arraignment the judge will generally set the matter for a pretrial hearing. During the pretrial hearing, defense counsel and the deputy city attorney usually discuss resolving the case without setting the matter for trial. It is common for the prosecutor to extend an initial offer to settle the case during a pretrial hearing. The court will then continue the matter for another pretrial hearing to determine whether or not the matter is resolved. If the matter is resolved, negotiations will be entered upon the court's record. If not, the matter will eventually be set for trial.