ためだった
為だった
tamedatta

Noun
Da Copula

The past form of ため

1. Was.; Used to be.

Past/Perfective
Usually Written in Kana