[noun] + じゃなかった [na-adj] + じゃなかった
Polite variants:
Formal (では) variants:
It attaches to nouns and な-adjectives (without な):
Noun + じゃなかった
な-adjective + じゃなかった
To make this form polite, you can add です after じゃなかった, or use the more formal equivalent じゃありませんでした.
じゃなかった is used when correcting a mistake or realizing something was different from what was expected.