寺社じしゃ奉行ぶぎょうでした
jishabugyōdeshita

Noun
Desu Copula

The polite past form of 寺社奉行

1. Was a temple and shrine magistrate.

Past/Perfective
Polite