Deshita and datta: was or were
でした is the polite past ending for nouns and na-adjectives. だった is the plain past form used in casual speech and other plain-form contexts.
Noun / na-adjective + でした / だった
I-adjectives form their own past tense: 寒い becomes 寒かったです. Do not make 寒いでした.
Examples
十年前私はシェフでした。
I was a chef ten years ago.
あの試合は最高でした。
That match was the best.
Try 3 questions
Continue learning Japanese