何事 なにごとでした
nanigotodeshita

Noun
Desu Copula

The polite past form of 何事

1. What was the matter?; What happened?

Past/Perfective
Polite