Both are possible. I can’t tell you which one is better unless you provide some context.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
Huzaifa AsifI actually want to know the usage of both "had been" and "was".You can study these at the links below.