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

Noun
Desu Copula

The polite, past negative form of

1. Was not a government office.; Was not in the government.

Past/Perfective
Negative
Polite
Formal Register