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

Noun
Desu Copula

The polite, past negative form of

1. Was not sleeping.; Was not in bed.

Past/Perfective
Negative
Polite
Formal Register