なんであったそうだ
nandeatta sōda

Conjunction
Evidential Auxiliary

Expresses hearsay about a past event ("I heard that...") of 何であれ

1. It was said.; It seems.; I heard that it was.

Past/Perfective
Hearsay Evidence