Past Tense
The past tense of verbs looks like the following, where 〜 stands for the stem of a verb.
present tense affirmative: 〜ます
present tense negative: 〜ません
past tense affirmative: 〜ました
past tense negative: 〜ませんでした
メアリさんはくじごろうちにかえりました。 Mary returned at about nine.
わたしはきのうにほんごをべんきょしませんでした。 I did not study Japanese yesterday.
For です sentences, the following should be observed:
present tense affirmative: 〜です
present tense negative: 〜じゃありません
past tense affirmative: 〜でした
past tense negative: 〜じゃありませんでした
やましたせんせいはとうざいだいがくのがくせいでした。 Mr. Yamashita was a student at Tozai University.
あれはにほんのえいがじゃありませんでした。 That was not a Japanese film.