The ~ませんでした form is the polite negative past tense conjugation for verbs. It is used to express actions or events that did not happen or were **not done in the past.