はんではありませんでした
handewārimasendeshita

Noun
Desu Copula

The polite, past negative form of

1. Was not.; Was not the case.; It wasn't.

Past/Perfective
Negative
Polite
Formal Register