語末 ごまつじゃなかったです
gomatsujanakattadesu

Noun
Desu Copula

The polite, past negative form of 語末

1. Wasn't (the sentence-ending particle); Wasn't the final word/phrase

Past/Perfective
Negative
Polite
Casual Register