Noun + ではありませんでした
Noun + じゃありませんでした
な-Adjective + ではありませんでした
な-Adjective + じゃありませんでした
The phrase ではありませんでした is the polite past negative form of です, meaning "was not" in English. It is used to formally negate statements about nouns or な-adjectives in the past.
In slightly less formal contexts, じゃありませんでした is a softer alternative.