なん さまでした
nansamadeshita

Noun
Desu Copula

The polite past form of 何様

1. What was your honorable title?; Who were you, sir/madam?

Past/Perfective
Polite