ことでした
kotodeshita

Noun
Desu Copula

The polite past form of

1. It was a koto.

Past/Perfective
Polite